Call the plugin code from wp-admin for use in `functions.php`