'.__('Settings').''); return $links; } /** * Update the plugin description when it's installed. * * @return void */ public static function updatePluginDescription($all_plugins) { if (isset($all_plugins['sitesauce/sitesauce.php'])) { if (is_null(sitesauce_deployments_get_build_hook())) { $all_plugins['sitesauce/sitesauce.php']['Description'] = $all_plugins['sitesauce/sitesauce.php']['Description'].' To get started, configure a build hook on the Sitesauce settings page.'; } } return $all_plugins; } /** * Display a configuration alert if the user hasn't configured the plugin yet. * * @return void */ public static function displayNotices() { global $hook_suffix; if ($hook_suffix != 'settings_page_sitesauce' && is_null(sitesauce_deployments_get_build_hook())) { ?>
To start using the Sitesauce integration, you'll need to add a build hook on the settings page.