Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // add the timber template option to the wysiwyg field
- add_filter( 'toolbox/helpers/settings/type=wysiwyg' , 'toolboxConnectors::timber_template' , 10, 2 );
- //add the processing of the timber template to the end (or not) of the wysiwyg output filter
- add_filter( 'toolbox/helpers/get_acf_field/type=wysiwyg' , 'toolbox::timber_template', 20, 5 );
Add Comment
Please, Sign In to add comment