• Resolved jimk1416

    (@jimk1416)


    Is there a way to configure this to display the status on custom editor roles instead of admins?
    I’m using advanced access manager to create a new role and wish to monitor those users.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi Jim,
    Thank you for the feedback.
    With 1.0.5 there are 2 filters added, 1 is for this usecase.
    You can add PHP code to the functions.php of your theme, preferably a child theme.

    function my_auli_get_role__in( $role__in ) {
    	$role__in[] = 'Subscriber'; // custom role, first character capitalized
    	return $role__in;
    }
    add_filter( 'auli_get_role__in', 'my_auli_get_role__in' );

    Does this work for you?

    Thread Starter jimk1416

    (@jimk1416)

    Thank you yes that is perfect.
    So I just replace ‘Subscriber’ with the role I want to add.

    Plugin Author Marcel Pol

    (@mpol)

    Yes, that is correct.

    Thread Starter jimk1416

    (@jimk1416)

    I tired it. Works fabulous. Thank you so much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Use for other roles’ is closed to new replies.