Support » Plugin: Contact Form 7 » wpcf7_add_shortcode broken in latest update

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Stephen S

    (@ssuess)

    ugh, I just found the resolution in a post from a few days ago, sorry.

    add_action( ‘init’, ‘xxxxx_wpcf7_add_shortcode’ );

    function xxxxx_wpcf7_add_shortcode() {
    wpcf7_add_shortcode(‘postdropdown’, ‘createbox’, true);
    }

    Thread Starter Stephen S

    (@ssuess)

    double UGH, this does NOT resolve the issue. The fatal error is STILL present, even after applying the suggested code change above.

    This fixed it for me:
    add_action( 'init', 'xxxxx_wpcf7_add_shortcode', 5 ); (note the 5 for priority)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wpcf7_add_shortcode broken in latest update’ is closed to new replies.