_content_filter = $registry->get( 'content.filter' ); $this->_strict_compatibility_content_filtering = $registry->get( 'model.settings' ) ->get( 'strict_compatibility_content_filtering' ); } /** * Clears all the_content filters excluding few defaults. * * @return void Method does not return. */ public function clear_the_content_filters() { if ( $this->_strict_compatibility_content_filtering ) { $this->_content_filter->clear_the_content_filters(); } } /** * Restores the_content filters. * * @return void Method does not return. */ public function restore_the_content_filters() { if ( $this->_strict_compatibility_content_filtering ) { $this->_content_filter->restore_the_content_filters(); } } }