WordPress.org

Ready to get started?Download WordPress

Forums

HRM Work Tracking
Disable widgets + filter for specific roles (3 posts)

  1. yarink
    Member
    Posted 9 months ago #

    Hello,
    Is it possible to disable these widgets for all users? "Human Resources Department" and "clock".
    Also, I only need to track time for specific user roles. How can I filter the list of users who are tracked?
    Thanks!

    http://wordpress.org/plugins/hrm-work-tracking/

  2. theode
    Member
    Plugin Author

    Posted 8 months ago #

    Hello.

    number one.
    go to hrm-work-tracking.php and do this (approx line 62)

    //add_action('wp_dashboard_setup', 'add_dashboard_clock' );
    //add_action('wp_dashboard_setup', 'add_dashboard_hrd' );
    //add_action('wp_dashboard_setup', 'add_hrm_wt' );

    number two.
    I bet there is a possibility with
    if ( current_user_can( "subscriber" ) )}

    we can talk about it further

  3. theode
    Member
    Plugin Author

    Posted 1 month ago #

    was that what you want?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags