• Resolved evo252

    (@evo252)


    Hi!

    How to remove the test schema link from the WordPress admin top bar?

    Because it’s taking a lot of place and my WordPress admin top bar is showing on tow lines now.

    Thanks a lot!

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

    (@jaysupport)

    At the moment, there’s no option in the plugin to remove that link, but we’ll look into adding one. In the meantime, you could easily do it by calling remove_node (e.g. in your child theme’s functions.php file). For example:

    function test_remove_from_admin_bar( $wp_admin_bar ) {

    $wp_admin_bar->remove_node( 'business_profile_test_link' );
    }

    add_action( 'admin_bar_menu', 'test_remove_from_admin_bar', 101 );

    Thread Starter evo252

    (@evo252)

    Thank you so much!!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove Test Schema form WordPress admin bar?’ is closed to new replies.