WordPress.org

Forums

Google Analytics Dashboard for WP
[resolved] Remove in submenu (3 posts)

  1. DavSign
    Member
    Posted 1 year ago #

    Hi,

    What is the exact code to hide the plugin in the administration menu "SETTINGS"?

    I tried with

    if(function_exists('remove_submenu_page'))
    		remove_submenu_page( 'options-general.php', 'ga_dash.php' );

    but it doesn't work.

    Help ! Thanks !

    http://wordpress.org/plugins/google-analytics-dashboard-for-wp/

  2. Alin Marcu
    Member
    Plugin Author

    Posted 1 year ago #

    The slug you've used is incorrect, the correct slug for the page is:

    Google_Analytics_Dashboard
  3. DavSign
    Member
    Posted 1 year ago #

    It's perfect ! Thanks very much !

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics Dashboard for WP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.