members_admin_notifications_has_access

The members members admin notifications has access hook.

Published Date - July 31, 2023

Description

return apply_filters( 'members_admin_notifications_has_access', $access );

Parameters

  1. $access


Usage

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)

Defined

The filter is defined in the following location(s).

members/admin/class-notifications.php

return apply_filters( 'members_admin_notifications_has_access', $access );