"
$adtag_regex = '/[\s]*
]*?class\=["\']adplugg-tag["\'][^>]*?><\/div>[\s]*/i';
$filtered_content = preg_replace( $adtag_regex, '', $content );
return $filtered_content;
}
/**
* Gets the singleton instance.
* @return \AdPlugg_Feed Returns the singleton instance of this
* class.
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
}