The members members admin notifications has access hook.
Published Date - July 31, 2023
return apply_filters( 'members_admin_notifications_has_access', $access );
$access
The following example is for adding a hook callback.
// define the members_admin_notifications_has_access callback
function custom_members_admin_notifications_has_access( $access ){
//custom code here
return $access
}
//add the action
add_filter('members_admin_notifications_has_access', 'custom_members_admin_notifications_has_access', 10, 1)
The filter is defined in the following location(s).
members/admin/class-notifications.php
return apply_filters( 'members_admin_notifications_has_access', $access );