How to hide from specific user/group?
-
WP v6.6 – Plugin Notes Plus v1.2.7
On the FAQ you post the following code but cannot see where to add the users names (eg: John AND Mike)
function pnp_hide_notes( $hide_notes ) { // logic to set $hide_notes to TRUE or FALSE return $hide_notes; } add_filter( 'plugin-notes-plus_hide_notes', 'pnp_hide_notes' );
Can you please help?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.