• Hi,
    Does any one have successfully use the same form on multisite network without hacking source file ?

    @Takayuki Miyoshi 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

    (@colir)

    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”

    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.