add_menu(array( 'id' => 'hide-notifications', 'title' => 'Notifications', 'href' => admin_url('admin.php?page=manage_notices_settings&tab=settings'), 'meta' => array( 'title' => __('Hide Notifications', 'wp-hide-backed-notices'), ), )); } /** * Begins execution of the plugin. * * Since everything within the plugin is registered via hooks, * then kicking off the plugin from this point in the file does * not affect the page life cycle. * * @since 1.0.0 */ function run_wp_hide_backed_notices() { $plugin = new Wp_Hide_Backed_Notices(); $plugin->run(); } run_wp_hide_backed_notices();