Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor dudo

    (@dudo)

    Hi, sorry for the delay of this answer.

    It’s not possible to disable it yet, but if you want you can do a little edit in the code:

    In the plugin directory, open file /lib/yasr-db-functions, find this line

    add_action( 'plugins_loaded', 'add_action_dashboard_widget_log' );

    and overwrite with this

    //add_action( 'plugins_loaded', 'add_action_dashboard_widget_log' );

    Best,
    Dario

    No need to modify plugin code for this:

    /**
     * Remove the YASR dashboard widget log
     */
    add_action( 'plugins_loaded', function()
    {
        remove_action (
             'wp_dashboard_setup',
            'yasr_add_dashboard_widget_log'
        );
    }, 11 );
    Thread Starter johnh10

    (@johnh10)

    Very nice thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Request: Option to disable dashboard widget’ is closed to new replies.