acf_the_editor_content

acf_the_editor_content

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.6.3

apply_filters('acf_the_editor_content') is found 1 times:

  • /includes/fields/class-acf-field-wysiwyg.php line 221
    			// filter
    			add_filter( 'acf_the_editor_content', 'format_for_editor', 10, 2 );
    
    			$field['value'] = is_string( $field['value'] ) ? $field['value'] : '';
    			$field['value'] = apply_filters( 'acf_the_editor_content', $field['value'], $default_editor );
    
    			// attr
    			$wrap = array(
    				'id'           => 'wp-' . $id . '-wrap',
    				'class'        => 'acf-editor-wrap wp-core-ui wp-editor-wrap ' . $switch_class,
    				'data-toolbar' => $field['toolbar'],
    

See this hook used in plugins: