Title: Version 3.0 broke my code!
Last modified: August 22, 2016

---

# Version 3.0 broke my code!

 *  Resolved [Peter Hardy-vanDoorn](https://wordpress.org/support/users/petervandoorn/)
 * (@petervandoorn)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/version-30-broke-my-code/)
 * The new version of the plugin has broken my code, which works absolutely fine
   with v2.8. I’ve tried to find the reason why in your documentation, but to be
   honest it’s not as clear or easy to follow as you think it is (sorry!)
 * My code is `echo wpws_get_content("http://www.xxxx.com/interactive/cv/123456",".
   photoWrapper","","basehref=http://www.xxxx.com&removetags=<div>&replace_regex
   =/lightbox/&replace_with=fancybox&");`
 * Thanks
 * [https://wordpress.org/plugins/wp-web-scrapper/](https://wordpress.org/plugins/wp-web-scrapper/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Akshay Raje](https://wordpress.org/support/users/akshay_raje/)
 * (@akshay_raje)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/version-30-broke-my-code/#post-5492997)
 * This is the equivalent template tag for V3 upwards:
 * wpws_get_content(“[http://www.xxxx.com/interactive/cv/123456&#8243](http://www.xxxx.com/interactive/cv/123456&#8243);,”.
   photoWrapper”, array(‘basehref’ => ‘[http://www.xxxx.com&#8217](http://www.xxxx.com&#8217);,‘
   remove_query’ => ‘b’, ‘replace_query’ => ‘/lightbox/’, ‘replace_query_type’ =
   > ‘regex’, ‘replace_with’ => ‘fancybox’));
 *  Thread Starter [Peter Hardy-vanDoorn](https://wordpress.org/support/users/petervandoorn/)
 * (@petervandoorn)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/version-30-broke-my-code/#post-5493078)
 * Thanks, I’ll give that a go.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Version 3.0 broke my code!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-web-scrapper.svg)
 * [WP Web Scraper](https://wordpress.org/plugins/wp-web-scrapper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-web-scrapper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-web-scrapper/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-web-scrapper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-web-scrapper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-web-scrapper/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Peter Hardy-vanDoorn](https://wordpress.org/support/users/petervandoorn/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/version-30-broke-my-code/#post-5493078)
 * Status: resolved