Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Andre Gagnon

    (@2winfactor)

    You can click the “Unpin from toolbar” button on the panel to hide it.

    https://share.getcloudapp.com/geuggPeY

    Let me know if you need any additional assistance!

    Thread Starter anonmeimei

    (@anonmeimei)

    Yes, but that only hides the menu on my end. I want to hide it for all users

    Plugin Author Andre Gagnon

    (@2winfactor)

    That I believe Gutenberg requires you to use custom code. You can do something like this:

    
    add_action('admin_print_footer_scripts', 'action_unregister_presto_control', 100);
    function action_unregister_presto_control()
    {
        if (is_admin()) {
            $screen = get_current_screen();
            if ('post' == $screen->base) {
                echo '<script>';
                echo "wp.plugins.unregisterPlugin( 'presto-player' );";
                echo '</script>';
            }
        }
    }
    
    • This reply was modified 3 years, 9 months ago by Andre Gagnon.
    • This reply was modified 3 years, 9 months ago by Andre Gagnon.
    Thread Starter anonmeimei

    (@anonmeimei)

    It worked, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove presto player menu in Gutenberg top bar?’ is closed to new replies.