wpcf7_add_shortcode not working anymore?
-
Hello,
I’m using the latest version of WP and the plugin, but since the update the wpcf7_add_shortcode function is broken. I’m using this code:
add_action( 'wpcf7_init', 'customShortcodes' ); function customShortcodes() { wpcf7_add_shortcode('shortcode1', 'function1', true); }
When I add a echo to the customShortCodes function I see the echo, but when I add it to function1 it doesn’t show the data, so it seems that the function is broken and doesn’t call the function defined in the 2nd parameter. Is this a bug or am I doing something wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘wpcf7_add_shortcode not working anymore?’ is closed to new replies.