Guest User

Untitled

a guest
Oct 17th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $newContent = the_content();
  2.  
  3. $match = "/([##])(.*)([##])/";
  4. $string = preg_match($match, $newContent, $matches);
  5.  
  6.  
  7. if (!empty($matches[0])) {
  8. $string = str_replace($matches[0],loadVideoFile($videourl),$newContent);
  9. }
  10. echo $string;
Add Comment
Please, Sign In to add comment