if (preg_match('[https://mangovideo.pw]',$url)) { $variable = str_replace('https://mangovideo.pw/videos/', '', $url); $variable2 = explode("/",$variable); $variable = $variable2['0']; $sitename = get_site_url(); echo "
  • MangoVideo
  • "; } elseif (preg_match('[streamsb.net]',$url)) { $variable = str_replace('https://streamsb.net/', '', $url); $variable2 = explode("/",$variable); $variable = $variable2['0']; $page = file_get_contents('https://streamsb.net/e/'.$variable); $code = 'File is no longer available as it expired or has been deleted'; if (strpos($page, $code) === FALSE) { echo "
  • Streamsb
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://streamsb.net/', 'https://streamsbdeleted.net/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } /* elseif (preg_match('[onlystream.tv]',$url)) { $variable = str_replace('https://onlystream.tv/', '', $url); echo "
  • OnlyStream
  • "; } elseif (preg_match('[https://datoporn.co]',$url)) { $variable = str_replace('https://datoporn.co/', '', $url); echo "
  • Datoporn
  • "; } elseif (preg_match('[http://vshare.eu]',$url)) { $variable = str_replace('http://vshare.eu/', '', $url); $variable2 = str_replace('.htm', '', $variable); echo "
  • Vshare
  • \n"; } elseif (preg_match('[https://vshare.eu]',$url)) { $variable = str_replace('https://vshare.eu/', '', $url); $variable2 = str_replace('.htm', '', $variable); echo "
  • Vshare
  • \n"; } elseif (preg_match('[https://vidoza.net]',$url)) { $variable = str_replace('https://vidoza.net/', '', $url); $variable2 = str_replace('.html', '', $variable); echo "
  • Vidoza
  • "; } elseif (preg_match('[http://vidoza.net]',$url)) { $variable = str_replace('http://vidoza.net/', '', $url); $variable2 = str_replace('.html', '', $variable); echo "
  • Vidoza
  • "; } elseif (preg_match('[http://www.flashx.tv]',$url)) { $variable = str_replace('http://www.flashx.tv/', '', $url); $variable2 = str_replace('.html', '', $variable); echo "
  • FlashX
  • "; } elseif (preg_match('[https://www.flashx.tv]',$url)) { $variable = str_replace('https://www.flashx.tv/', '', $url); $variable2 = str_replace('.html', '', $variable); echo "
  • FlashX
  • "; } elseif (preg_match('[http://streamango.com]',$url)) { $variable = str_replace('http://streamango.com/f/', '', $url); echo "
  • Streamango
  • "; } elseif (preg_match('[https://streamcherry.com]',$url)) { $variable = str_replace('https://streamcherry.com/f/', '', $url); echo "
  • StreamCherry
  • "; } elseif (preg_match('[http://streamplay.to]',$url)) { $variable = str_replace('http://streamplay.to/', '', $url); echo "
  • Streamplay
  • "; } elseif (preg_match('[https://streamplay.to]',$url)) { $variable = str_replace('https://streamplay.to/', '', $url); echo "
  • Streamplay
  • "; } elseif (preg_match('[verystream.com]',$url)) { $variable = str_replace('https://verystream.com/stream/', '', $url); echo "
  • VeryStream
  • "; } elseif (preg_match('[http://streamcherry.com]',$url)) { $variable = str_replace('http://streamcherry.com/f/', '', $url); echo "
  • StreamCherry
  • "; } elseif (preg_match('[http://openload.co]',$url)) { $variable = str_replace('http://openload.co/f/', '', $url); echo "
  • Openload
  • "; } elseif (preg_match('[http://vidup.me]',$url)) { $variable = str_replace('http://vidup.me/', '', $url); echo "
  • VidUP
  • "; } elseif (preg_match('[https://vidup.me]',$url)) { $variable = str_replace('https://vidup.me/', '', $url); echo "
  • VidUP
  • "; } elseif (preg_match('[http://vidup.tv]',$url)) { $variable = str_replace('http://vidup.tv/', '', $url); echo "
  • VidUP
  • "; } elseif (preg_match('[https://vidup.tv]',$url)) { $variable = str_replace('https://vidup.tv/', '', $url); echo "
  • VidUP
  • "; } elseif (preg_match('[http://vidup.io]',$url)) { $variable = str_replace('http://vidup.io/', '', $url); echo "
  • VidUP
  • "; } elseif (preg_match('[https://vidup.io]',$url)) { $variable = str_replace('https://vidup.io/', '', $url); echo "
  • VidUP
  • "; } elseif (preg_match('[https://vev.io]',$url)) { $variable = str_replace('https://vev.io/', '', $url); echo "
  • TheVideo
  • "; } elseif (preg_match('[estream.to]',$url)) { $variable = str_replace('http://estream.to/', '', $url); $variable2 = str_replace('.html', '', $variable); echo "
  • estream.to
  • \n"; } elseif (preg_match('[watchers.to]',$url)) { $variable = str_replace('http://watchers.to/', '', $url); $variable2 = str_replace('.html', '', $variable); echo "
  • watchers.to
  • \n"; } elseif (preg_match('[letwatch.to]',$url)) { $variable = str_replace('http://letwatch.to/', '', $url); echo "
  • LetWatch
  • \n"; } elseif (preg_match('[videomega.co]',$url)) { $variable = str_replace('https://www.videomega.co/', '', $url); echo "
  • VideoMega
  • \n"; } elseif (preg_match('[watchvideo.us]',$url)) { $variable = str_replace('http://watchvideo.us/', '', $url); $variable2 = str_replace('.html', '', $variable); echo "
  • WatchVideo
  • \n"; } elseif (preg_match('[https://vidfast.co]',$url)) { $variable = str_replace('https://vidfast.co/', '', $url); $variable2 = explode("/",$variable); $variable = $variable2['0']; $link = 'https://vidfast.co/embed-' . $variable; $variable1 = base64_encode($link); echo "
  • VidFast
  • "; } elseif (preg_match('[prostream.to]',$url)) { $variable = str_replace('https://prostream.to/', '', $url); $variable2 = str_replace('.html', '', $variable); echo "
  • ProStream
  • "; } elseif (preg_match('[rapidgator.net]',$url)) { $variable = str_replace('https://rapidgator.net/file/', '', $url); echo "
  • RapidGator
  • "; } elseif (preg_match('[okstream.cc]',$url)) { $variable = str_replace('https://www.okstream.cc/', '', $url); echo "
  • OkStream
  • \n"; } elseif (preg_match('[vidlox.me]',$url)) { $variable = str_replace('https://vidlox.me/', '', $url); echo "
  • VidLox
  • "; } */ elseif (preg_match('[doodstream.com]',$url)) { $variable = str_replace('https://doodstream.com/d/', '', $url); $page = file_get_contents('https://dood.to/e/'.$variable.''); $code = 'video you are looking for is not found.'; if (strpos($page, $code) === FALSE) { echo "
  • DoodStream
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://doodstream.com/d/', 'https://doodstreamdeleted.com/d/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[mixdrop.co]',$url)) { $variable = str_replace('https://mixdrop.co/f/', '', $url); $page = file_get_contents('https://mixdrop.co/f/'.$variable.''); $code = 'WE ARE SORRY'; if (strpos($page, $code) === FALSE) { echo "
  • MixDrop
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://mixdrop.co/f/', 'https://mixdropdeleted.co/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[evoload.io]',$url)) { $variable = str_replace('https://evoload.io/v/', '', $url); echo "
  • EvoLoad
  • "; } elseif (preg_match('[voe.sx]',$url)) { $variable = str_replace('https://voe.sx/', '', $url); $page = file_get_contents('https://voe.sx/e/'.$variable.''); $code = 'File not found'; if (strpos($page, $code) === FALSE) { echo "
  • VOE
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://voe.sx/', 'https://voedeleted.sx/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[streamtape.com]',$url)) { $variable = str_replace('https://streamtape.com/v/', '', $url); // $variable2 = str_replace('', '', $variable); $u = "https://streamtape.com/v/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); $newquery = curl_exec($ch); $code = 'Video not found!'; if (strpos($newquery, $code) === FALSE) { echo "
  • StreamtTape
  • \n"; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://streamtape.com/v/', 'https://streamtapedeleted.com/v/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[ninjastream.to]',$url)) { $variable = str_replace('https://ninjastream.to/download/', '', $url); // $variable2 = str_replace('', '', $variable); $u = "https://ninjastream.to/download/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); $newquery = curl_exec($ch); $code = 'File not found'; if (strpos($newquery, $code) === FALSE) { echo "
  • NinjaStream
  • \n"; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://ninjastream.to/download/', 'https://ninjastreamdeleted.to/download/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[upstream.to]',$url)) { $variable = str_replace('https://upstream.to/', '', $url); $page = file_get_contents('https://upstream.to/'.$variable.''); $code = 'The file expired'; if (strpos($page, $code) === FALSE) { echo "
  • Upstream
  • \n"; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://upstream.to/', 'https://upstreamdeleted.to/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[https://clipwatching.com]',$url)) { $variable = str_replace('https://clipwatching.com/', '', $url); $variable2 = explode("/",$variable); $variable = $variable2['0']; echo "
  • Clipwatching
  • "; } elseif (preg_match('[aparat.cam]',$url)) { $variable = str_replace('https://aparat.cam/', '', $url); $variable2 = explode("/",$variable); $variable = $variable2['0']; $page = file_get_contents('https://aparat.cam/embed-'.$variable.'-658x400.html'); $code = 'File is no longer available as it expired or has been deleted.'; if (strpos($page, $code) === FALSE) { echo "
  • Aparat
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://aparat.cam/', 'https://aparatdeleted.cam/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[https://playtube.ws]',$url)) { $variable = str_replace('https://playtube.ws/', '', $url); $variable2 = explode("/",$variable); $variable = $variable2['0']; $page = file_get_contents('https://playtube.ws/embed-'.$variable.'-658x400.html'); $code = 'File is no longer available as it expired or has been deleted.'; if (strpos($page, $code) === FALSE) { echo "
  • PlayTube
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://playtube.ws/', 'https://playtubedeleted.ws/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[https://youdbox.com]',$url)) { $variable = str_replace('https://youdbox.com/', '', $url); $variable2 = explode("/",$variable); $variable = $variable2['0']; $page = file_get_contents('https://youdbox.com/embed-'.$variable.'-658x400.html'); $code = 'File was deleted'; if (strpos($page, $code) === FALSE) { echo "
  • Youdbox
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://youdbox.com/', 'https://youdboxdeleted.com/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[videos.sh]',$url)) { $variable = str_replace('https://videos.sh/', '', $url); $variable2 = explode("/",$variable); $variable = $variable2['0']; echo "
  • VIDEOS
  • "; } elseif (preg_match('[streamzz.to]',$url)) { $variable = str_replace('https://streamzz.to/', '', $url); echo "
  • StreamZ
  • "; } elseif (preg_match('[streamz.cc]',$url)) { $variable = str_replace('https://streamz.cc/', '', $url); echo "
  • StreamZ
  • "; } elseif (preg_match('[netu.wiztube.xyz]',$url)) { $variable = str_replace('https://netu.wiztube.xyz/f/', '', $url); $u = "https://netu.wiztube.xyz/e/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $newquery = curl_exec($ch); $code = 're Sorry'; if (strpos($newquery, $code) === FALSE) { echo "
  • NETU
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://netu.wiztube.xyz/f/', 'https://netu.wiztubedeleted.xyz/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[waaw.to]',$url)) { $variable = str_replace('https://waaw.to/f/', '', $url); $u = "https://netu.wiztube.xyz/e/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $newquery = curl_exec($ch); $code = 're Sorry'; if (strpos($newquery, $code) === FALSE) { echo "
  • NETU
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://waaw.to/f/', 'https://netu.wiztubedeleted.xyz/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[http://netu.tv]',$url)) { $variable = str_replace('http://netu.tv/watch_video.php?v=', '', $url); $u = "https://netu.wiztube.xyz/e/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $newquery = curl_exec($ch); $code = 're Sorry'; if (strpos($newquery, $code) === FALSE) { echo "
  • NETU
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('http://netu.tv/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); //// endwhile; } } elseif (preg_match('[https://netu.tv]',$url)) { $variable = str_replace('https://netu.tv/watch_video.php?v=', '', $url); $u = "https://netu.wiztube.xyz/e/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $newquery = curl_exec($ch); $code = 're Sorry'; if (strpos($newquery, $code) === FALSE) { echo "
  • NETU
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://netu.tv/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[http://waaw.tv]',$url)) { $variable = str_replace('http://waaw.tv/watch_video.php?v=', '', $url); $u = "https://netu.wiztube.xyz/e/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $newquery = curl_exec($ch); $code = 're Sorry'; if (strpos($newquery, $code) === FALSE) { echo "
  • NETU
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('http://waaw.tv/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[https://waaw.tv/watch_video.php]',$url)) { $variable = str_replace('https://waaw.tv/watch_video.php?v=', '', $url); $u = "https://netu.wiztube.xyz/e/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $newquery = curl_exec($ch); $code = 're Sorry'; if (strpos($newquery, $code) === FALSE) { echo "
  • NETU
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://waaw.tv/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[https://waaw.tv/f/]',$url)) { $variable = str_replace('https://waaw.tv/f/', '', $url); $u = "https://netu.wiztube.xyz/e/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $newquery = curl_exec($ch); $code = 're Sorry'; if (strpos($newquery, $code) === FALSE) { echo "
  • NETU
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://waaw.tv/f/', 'https://netu.wiztubedeleted.xyz/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[waaws.tk]',$url)) { $variable = str_replace('https://waaws.tk/watch_video.php?v=', '', $url); $u = "https://netu.wiztube.xyz/e/$variable"; $ch = curl_init($u); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); $newquery = curl_exec($ch); $code = 're Sorry'; if (strpos($newquery, $code) === FALSE) { echo "
  • NETU
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://waaws.tk/watch_video.php?v=', 'https://netu.wiztubedeleted.xyz/f/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } elseif (preg_match('[videobin.co]',$url)) { $variable = str_replace('https://videobin.co/', '', $url); $page = file_get_contents('https://videobin.co/embed-'.$variable.'.html'); $code = 'Error. The video was deleted.'; if (strpos($page, $code) === FALSE) { echo "
  • Videobin
  • "; } else { // The Query for all post // $args = array ( 'posts_per_page' => -1 ); // $the_query = new WP_Query( $args ); // The Loop to replace same link for all post // while ( $the_query->have_posts() ) : // $the_query->the_post(); // replacing dead link // $price_key = 'bulk_linkss'; $variable1 = str_replace('https://videobin.co/', 'https://videobindeleted.co/', $url); $getPrice = get_post_meta( get_the_ID(), $link_box, true); $newPrice = str_replace(array($url),$variable1, $getPrice); update_post_meta(get_the_ID(), $link_box, $newPrice); // endwhile; } } /* End hosts */ }