public/wordpress/wp-content/themes/puro/inc/formats.php
/**
 * Removes the video from the page
 *
 * @param $content
 * @return mixed
 */
Removes the video from the page
@param $content
@return mixed
Removes the video from the page @param $content @return mixed
function puro_filter_video($content){
	list($line, $rest) = explode("\n", $content, 2);
	if ( preg_match('/\<\s*(iframe|object|embed)/i', $line) ) return $rest;
	else return $content;
}
function puro_filter_video ( $ content ) { list ( $ line , $ rest ) = explode ( " \n " , $ content , 2 ) ; if ( preg_match ( '/\<\s*(iframe|object|embed)/i' , $ line ) ) return $ rest ; else return $ content ; }
Removes the video from the page
 @param $content
 @return mixed
Removes the video from the page @param $content @return mixed