Skip to content

Commit aa9809d

Browse files
removed sub menu
1 parent 5c8588e commit aa9809d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ public function register_custom_menu_page() {
100100
$page = add_menu_page( __( 'All in One Rich Snippets Dashboard', 'rich-snippets' ), __( 'Rich Snippets', 'rich-snippets' ), 'administrator', 'rich_snippet_dashboard', 'rich_snippet_dashboard', 'div' );
101101
// Add "Upgrade to Pro" submenu.
102102
add_submenu_page( 'rich_snippet_dashboard', __( 'Upgrade to Pro', 'rich-snippets' ), __( 'Upgrade to Pro', 'rich-snippets' ), 'administrator', 'aiosrs_upgrade_to_pro', array( $this, 'upgrade_to_pro_redirect' ) );
103-
// Add "Get Help" submenu
104-
// add_submenu_page( 'rich_snippet_dashboard', __( 'Get Help', 'rich-snippets' ), __( 'Get Help', 'rich-snippets' ), 'administrator', 'aiosrs_get_help', array( $this, 'get_help_redirect' ) );
105103
// Call the function to print the stylesheets and javascripts in only this plugins admin area.
106104
add_action( 'admin_print_styles-' . $page, 'bsf_admin_styles' );
107105
add_action( 'admin_print_scripts-' . $page, array( $this, 'iris_enqueue_scripts' ) );

0 commit comments

Comments
 (0)