Add shortcode or html to Custom Gateway Instructions
-
The Custom Gateway Instructions field seems to strip html and does not recognize shortcodes. Is it possible to either prevent html stripping or enable shortcodes in this field.
I have attempted various forms of the following.add_filter('WC_Gateway_WCJ_Custom', 'do_shortcode');
foreach ( array( 'pre_instructions' ) as $filter ) { remove_filter( $filter, 'wp_filter_kses' ); } foreach ( array( 'instructions' ) as $filter ) { remove_filter( $filter, 'wp_kses_data' ); }
.. I have no idea what I am doing.
Thanks in advance!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Add shortcode or html to Custom Gateway Instructions’ is closed to new replies.