Title: webinar filter
Last modified: March 26, 2020

---

# webinar filter

 *  Resolved [HooThemes](https://wordpress.org/support/users/hoosoft/)
 * (@hoosoft)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/webinar-filter/)
 * Hello, could you add a custom filter before “foreach ($jsondata as $data) {” 
   in shortcode.php so we can choose whether to display webinar according to the
   value of item locale?
 * for example, add code
 * `$jsondata = apply_filters('wp_gotowebinar_shortcode_jsondata', $jsondata);`
 * like this
 *     ```
       $jsondata = apply_filters('wp_gotowebinar_shortcode_jsondata', $jsondata);
   
       //start loops
       foreach ($jsondata as $data) {
          foreach($data['times'] as $mytimes) {
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/webinar-filter/#post-12589166)
 * Hi [@hoosoft](https://wordpress.org/support/users/hoosoft/),
 * That’s a great idea, I have put this in the plugin now and it will be out in 
   the next release. I don’t have at ETA on this just yet. But feel free to update
   your core file now. Thanks

Viewing 1 replies (of 1 total)

The topic ‘webinar filter’ is closed to new replies.

 * ![](https://ps.w.org/wp-gotowebinar/assets/icon.svg?rev=2182596)
 * [WP GoToWebinar](https://wordpress.org/plugins/wp-gotowebinar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gotowebinar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gotowebinar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gotowebinar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gotowebinar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gotowebinar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/webinar-filter/#post-12589166)
 * Status: resolved