Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Filtering search results based on ActiveMember360 permissions › Reply To: Filtering search results based on ActiveMember360 permissions
Hi Ernest, I’ve gone back to Active Member and asked your question… this is how they responded:
apply_filters( ‘mbr/match_user_content’, $post_id, MBR_IGNORE_EXCERPT )
MBR_IGNORE_EXCERPT should be set to true to ignore the excerpt which if defined for the $post_id will be giving the user access to the post albeit the excerpt
MBR_IGNORE_EXCERPT should be set to false to consider the excerpt which if defined for the $post_id will be giving the user access to the post albeit the excerpt
The filter will return true for those with access to $post_id and false for those without access.
Does this help?