• Resolved Jason Ryan

    (@viablethought)


    Hello –

    The option to not have Imagify in the Admin Bar is gone, can you bring that back or do you have a hook or filter available to hide it?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same question here

    Any solution ?

    Plugin Author WP Media

    (@wp_media)

    Hello,

    Thank you for reaching out.

    For now, please try adding below code to your theme’s function.php file to hide Imagify from admin bar:

    add_action('wp_before_admin_bar_render', function() {
    global $wp_admin_bar;
    $wp_admin_bar->remove_node('imagify'); // This removes the Imagify menu.
    });

    Best Regards,

    Thread Starter Jason Ryan

    (@viablethought)

    @wp_media

    Are there plans to bring this back? To have to go through 100+ website to add this code is not feasible.

    Thanks

    Plugin Author WP Media

    (@wp_media)

    Hi,

    Thank you for your reply.

    Unfortunately, no. You may try the shorter version of the workaround as below:

    add_filter( ‘pre_get_imagify_option_admin_bar_menu’, ‘__return_false’ );

    Best Regards,

    Thread Starter Jason Ryan

    (@viablethought)

    @wp_media

    Can you explain the logic with removing this option – which was merely a checkbox – and why it is not being added? The current admin bar link is completely useless and unnecessary and just adds clutter.

    This is crazy to me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.