private static function get_stripped_content($content) { $clean_content = strip_tags($content); $clean_content = html_entity_decode($clean_content); //completely strip shortcodes and any content they enclose $clean_content = strip_shortcodes($clean_content); return $clean_content; }