Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // allow HTML in a specific form field
- // update the '344' to the ID of your form
- add_filter( 'gform_allowable_tags_344', 'hearts_welcome_here', 10, 2 );
- function hearts_welcome_here( $allow_html, $field ) {
- // update the '2' to the ID of your field
- if( $field['id'] == 2 )
- return true;
- return $allow_html;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement