Description
This filter allows you to strip line breaks from the User List HTML. This can make it easier to run str_replace on the content later.
Parameters
No input parameters. Default value is false. Return a true|false boolean.
Changelog
Since extension version 1.2
Source
wpmem_ul_strip_breaks is located in wp-members-user-list.php.
Usage
add_filter( 'wpmem_ul_strip_breaks', 'my_ul_strip_breaks' );
function my_ul_strip_breaks() {
/**
* Return true to strip all breaks from the
* User List HTML output. Makes it easier to
* filter with str_replace.
*/
return true;
}See a list of all filter and action hooks