You appear to be a bot. Output may be restricted
Description
Implement 'the_content' filter using wpautop() without converting newlines to br tagsMore often than not wpautop() can appear to be more trouble than it's worth. When we do use it, the results are better if we don't allow newlines to be converted to br tags.
Usage
$string = bw_wpautop( $pee );
Parameters
- $pee
- ( string ) required – the content with new lines to be converted to paragraphs.
Returns
string the content with automatically generated paragraphs.Source
File name: oik-css/oik-css.phpLines:
1 to 3 of 3
function bw_wpautop( $pee ) { return( wpautop( $pee, false ) ); }View on GitHub View on Trac