• Resolved e dev

    (@efishinsea)


    This issue was brought up 2 years ago and is still a problem. Reputable plugins should not be adding nonsense menu items around WordPress in order to advertise their “PRO” version plugins. It’s annoying and unnecessary.

    At a minimum there should be a way to opt out of this advertising completely.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support MM Aurangajeb

    (@aurangajeb)

    Hi @efishinsea,

    Thanks for reaching out and providing your feedback!

    The menu item is supposed to be there to educate users that we have a Redirects feature. I’m sorry for any frustration this may cause.

    While we currently do not have a setting, you should be able to easily hide it using this code snippet

    add_action( 'admin_menu', 'aioseo_hide_redirects_menu', 99999 );

    function aioseo_hide_redirects_menu() {
    global $submenu;
    if ( ! isset( $submenu['tools.php'] ) ) {
    return;
    }

    foreach ( $submenu['tools.php'] as $index => $props ) {
    if ( ! empty( $props[2] ) && admin_url( '/admin.php?page=aioseo-redirects' ) === $props[2] ) {
    unset( $submenu['tools.php'][ $index ] );
    return;
    }
    }
    }

    You can add this code snippet directly to your theme’s functions.php file (https://a.supportally.com/i/llzAoe) or follow our documentation here to add it through the?WP Code?plugin:?

    https://aioseo.com/docs/how-do-i-use-your-api-code-examples/.

    I hope this helps.

    Thanks!

    Thread Starter e dev

    (@efishinsea)

    “educating users” is another way to say advertising. With that logic, you could flood the backend with “education” opportunities under every menu item.

    But please don’t. It’s bad enough already.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘redirection manager’ is closed to new replies.