Title: CF7 multisite
Last modified: January 6, 2023

---

# CF7 multisite

 *  [Colir](https://wordpress.org/support/users/colir/)
 * (@colir)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cf7-multisite/)
 * Hi,
   Does any one have successfully use the same form on multisite network without
   hacking source file ?@[Takayuki Miyoshi](https://ideasilo.wordpress.com/) is 
   there any filter to change the rest api base url when using multisite ?The idea
   is to create a mailing subscription form on one site, and display it on each 
   footer of all the network’s website.Thank you

Viewing 1 replies (of 1 total)

 *  Thread Starter [Colir](https://wordpress.org/support/users/colir/)
 * (@colir)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/cf7-multisite/#post-16348651)
 * After investigating, i think the the simpler and cleaner solution would be to
   include the var “wpcf7” in an hidden field (with a hook filter) in the forms 
   rather than a global window object with wp_localize_script.
 * In fact, the blocking element is in the “api-fetch.js”
 *     ```wp-block-code
       const {
       	root,
       	namespace = 'contact-form-7/v1',
       } = wpcf7.api;
       ```
   
 * It could be great if this doesn’t use the global object, or can be filtered.
   
   Thank you

Viewing 1 replies (of 1 total)

The topic ‘CF7 multisite’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Colir](https://wordpress.org/support/users/colir/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/cf7-multisite/#post-16348651)
 * Status: not resolved