Support » Plugin: Contact Form 7 » After update "undefined function wpcf7_add_shortcode()"

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Change it to:

    add_action( 'init', 'xxxxx_wpcf7_add_shortcode' );
    
    function xxxxx_wpcf7_add_shortcode() {
    	wpcf7_add_shortcode('postdropdown', 'createbox', true);
    }

    This did not solve the problem for me… any other ideas?!

    Actually, this did it:
    add_action( 'init', 'xxxxx_wpcf7_add_shortcode', 5 ); (adding the ‘5’ for priority)

    DDT

    (@ddt)

    hmm, even adding th 5 didn’t help any other suggestions? I updated to 3.5.3

    elsclarysse

    (@elsclarysse)

    I’m having the same problem, updated to 3.5.3. Suggested solution didn’t work for me.

    fromim

    (@fromim)

    I’m having the same one, updated to 3.5.4. Please let me know if someone knows the solution.
    Thank you.

    Any news, fixes? Just upgraded one website

    esmi

    (@esmi)

    Forum Moderator

    @ddt: If you require assistance then, as per the Forum Welcome, please post your own topic. This topic is 6 months old and references an old version of WordPress.

    Closing.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘After update "undefined function wpcf7_add_shortcode()"’ is closed to new replies.