Enable Shortcodes in Offline Instructions
-
Hi there and thank you for this great plugin!
I was searching and trying the whole day, but I coudn’t figure out how to enable shortcodes in the offline payment instructions. I would like to add a QR code (bar code; from the SEPA Girocode plugin) for banking apps in there. It works fine outside the Give form, but not within the instructions. I have different donation forms and the shortcode would make it very easy in dynamically create the QR Code containing all information like account beneficiary, amount, purpose etc.#
I was trying something like this in my child-theme functions.php:
add_filter( 'give_offline_instructions', 'do_shortcode' );
but no luck.Is there a way to hook into this to make shortcodes work? Thank you very much.
- The topic ‘Enable Shortcodes in Offline Instructions’ is closed to new replies.