Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $newContent = the_content();
- $match = "/([##])(.*)([##])/";
- $string = preg_match($match, $newContent, $matches);
- if (!empty($matches[0])) {
- $string = str_replace($matches[0],loadVideoFile($videourl),$newContent);
- }
- echo $string;
Add Comment
Please, Sign In to add comment