add_shortcode in CF7 not working with WP 4.4
-
Since WP 4.4. using add_shortcode in CF7 does not work anymore. It runs fine with WP 4.3. It’s function i.e. is to prefill an emailaddress in a booking form.
The CF7-form contains this:
<span class=”cf7_boekform_lbl”>Emailadres</span>[dynamictext* vhv_email 30/35 “vhv_emailprefill=””]The booking-page contains this:
function getEmailAdres( $atts ) { return gEmailAdres; }
add_shortcode( ‘vhv_emailprefill’, ‘getEmailAdres’ );(var gEmailAdres contains an emailaddress).
Does anyone experience the same and/or has a glue how to solve this?
Does WP 4.4 require some additional action?Thanks in advance,
Rudolph Smits, NetherlandsPS de-activating other plugin’s one by one did not help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add_shortcode in CF7 not working with WP 4.4’ is closed to new replies.