Description
This filter hook allows you to filter the $content container variable based on your own filter criteria.
Usage
add_filter( 'wpmem_securify', 'my_securify_filter' );
function my_securify_filter( $content )
{
/**
* This filter can filter the content that is returned.
* The filter comes at the end of wpmem_securify. If
* it reaches the point of the filter, there has been
* no condition true to block it (or do any other
* function such as registration). If you have additional
* criteria you want to set to block content, such as
* a custom post type, or a user level, this is the
* filter you want to use.
*/
return $content;
}
Examples
- How to add multiple user levels by category [ members only ]
- Blocking content in a custom template [ members only ]
