Creating Empty Tags

add_filter('the_content', 'remove_empty_p', 11);
function remove_empty_p($content){
    $content = force_balance_tags($content);
    //return preg_replace('#

\s*+()?\s*

#i', '', $content); return preg_replace('#

#i', '', $content); }

Đọc thêm
Thu Gọn