Guest User

Untitled

a guest
May 21st, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <?php
  2.  
  3. // add the timber template option to the wysiwyg field
  4. add_filter( 'toolbox/helpers/settings/type=wysiwyg' , 'toolboxConnectors::timber_template' , 10, 2 );
  5.  
  6. //add the processing of the timber template to the end (or not) of the wysiwyg output filter
  7. add_filter( 'toolbox/helpers/get_acf_field/type=wysiwyg' , 'toolbox::timber_template', 20, 5 );
Add Comment
Please, Sign In to add comment