I am using contact form db plugin. Now I want to just hide the short code menu link from admin panel.

Is it possible?

  • 1
    Please use the shift button on your keyboard to capatalize the first letter of a sentence. Thank you Jun 17 '15 at 7:54

Use the remove_submenu_page function to remove the shortcode menu. Pass the parent menu's slug and the submenu's slug as arguments to this function.

Paste the following in your theme's functions.php file.

add_action( 'admin_menu', 'remove_short_code_menu' );

function remove_short_code_menu() {

        'CF7DBPluginSubmissions',   // $parent_menu_slug
        'CF7DBPluginShortCodeBuilder'   // $submenu_slug
  • Yes. It can be removed. Identify the corresponding submenu's slug and pass it to remove_submenu_page. Jul 17 '15 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.