Title: Plugin Modification
Last modified: July 21, 2021

---

# Plugin Modification

 *  [Richard Leishman](https://wordpress.org/support/users/webfwd/)
 * (@webfwd)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-modification-7/)
 * Hello, I have made a small modification to the plugin to support multiple hook
   URLs by splitting them with semicolons (;).
 * I have changed class-module-zapier.php line 92:
 * `$result = wp_remote_post( $hook_url, apply_filters( 'ctz_post_request_args',
   $args ) );`
 * to:
 *     ```
       if (strripos($hook_url, ';') !== false) 
           $hook_urls = explode(';', $hook_url);
       else $hook_urls = [$hook_url];
       foreach ($hook_urls as $hook_url)
           $result = wp_remote_post( $hook_url, apply_filters( 'ctz_post_request_args', $args ) );
       ```
   
 * It is not perfect, but I would appreciate it if you could implement something
   like this in future versions.
    -  This topic was modified 4 years, 8 months ago by [Richard Leishman](https://wordpress.org/support/users/webfwd/).
    -  This topic was modified 4 years, 8 months ago by [Richard Leishman](https://wordpress.org/support/users/webfwd/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mário Valney](https://wordpress.org/support/users/mariovalney/)
 * (@mariovalney)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-modification-7/#post-14684852)
 * Hi Richard!
    Wonderful job.
 * It’s indeed in my roadmap implement multiple webhooks and advanced data formatting.
   But I’m lack of time nowdays.
 * Thanks for using my plugin!

Viewing 1 replies (of 1 total)

The topic ‘Plugin Modification’ is closed to new replies.

 * ![](https://ps.w.org/cf7-to-zapier/assets/icon-256x256.jpg?rev=3214555)
 * [CF7 to Webhook](https://wordpress.org/plugins/cf7-to-zapier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-to-zapier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-to-zapier/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-to-zapier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-to-zapier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-to-zapier/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mário Valney](https://wordpress.org/support/users/mariovalney/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/plugin-modification-7/#post-14684852)
 * Status: not a support question