Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

when WYSIWYG fields remove paragraph tag

function my_acf_add_local_field_groups() {
  remove_filter('acf_the_content', 'wpautop' );
}
add_action('acf/init', 'my_acf_add_local_field_groups');
Source by support.advancedcustomfields.com #
 
PREVIOUS NEXT
Tagged: #WYSIWYG #fields #remove #paragraph #tag
ADD COMMENT
Topic
Name
5+7 =