/**
* LearnDash ProPanel - Include admin users in display and reporting
*
* By default admin level users are excluded from display and reporting. This
* filter is provided to allow inclusion of those users.
*
* @since 2.0
*
* @param bool $exclude_admin_users default value passed will be TRUE.
* @return bool true to exlcude, false to include.
*/
add_filter( 'ld_propanel_exclude_admin_users', function( $exclude_admin_users ) {
// If you want to INCLUDE admin users set the return to 'false'.
$exclude_admin_users = false;
return $exclude_admin_users;
} );
Copy to clipboard