• Resolved Neo

    (@neonota)


    Hi,

    Thanks for this cool plugin.

    Could you please tell me how can I hide this widget for all users except admin ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Maya

    (@tdgu)

    Hi,
    You can remove it programmatically using a custom code, which you can add to a custom file on your /wp-content/mu-plugins/ If the folder does not exists, create it:

    <?php
    
        add_action('wp_dashboard_setup',                '__wp_dashboard_setup', 1000 );
        function __wp_dashboard_setup()
            {
                global $wp_meta_boxes;   
    
                if ( isset ( $wp_meta_boxes['dashboard']['normal']['core']['wp-hide-overview'] ) )
                    unset ( $wp_meta_boxes['dashboard']['normal']['core']['wp-hide-overview'] );
            }

    Thanks

    Thread Starter Neo

    (@neonota)

    Thank you so much ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide “Security Overview” Widget’ is closed to new replies.