Created
October 9, 2016 21:22
-
-
Save Shelob9/acc785bff2e495c8aabc037765e54fa7 to your computer and use it in GitHub Desktop.
Example for the Caldera Forms WYSIWG field options filter -> caldera_forms_wysiwyg_options See -> https://calderawp.com/doc/caldera_forms_wysiwyg_options/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
Enable autogrow | |
See: https://alex-d.github.io/Trumbowyg/documentation.html#auto-adjust-height | |
**/ | |
add_filter( 'caldera_forms_wysiwyg_options', function( $options){ | |
$options[ 'autogrow' ] = 'true'; | |
return $options; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment