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.4.0.1

apply_filters('acf_the_editor_content') is found 1 times:

  • /includes/fields/class-acf-field-wysiwyg.php line 221
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    // 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: