*
* @package blogk3
*/
function get_search_form2(){ ?>
";
$needle_end = "";
$replace = "";
$pos_first = strpos($content, $needle_start);
$pos_last = strrpos($content, $needle_end);
// Repalce begining and last auto p tags
if ($pos_first !== false && $pos_last !== false) {
$content = substr_replace($content, $replace, $pos_first, strlen($needle_start));
$content = substr_replace($content, $replace, $pos_last, strlen($needle_end));
}
return $content;
}
add_filter( 'the_content', 'blogk3_filter_empty_p_tags', 50 );
?>
>
>