Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example for the Caldera Forms WYSIWG field options filter -> caldera_forms_wysiwyg_options See -> https://calderawp.com/doc/caldera_forms_wysiwyg_options/
<?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
You can’t perform that action at this time.