acf/pre_render_field

acf/pre_render_field

Hook Type: filter

See hook in core

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

apply_filters('acf/pre_render_field') is found 1 times:

  • /includes/acf-field-functions.php line 606
    603
    604
    605
    606
    607
    608
    609
    610
    611
    // Loop over and render fields.
    if ( $fields ) {
        foreach ( $fields as $field ) {
            $field = apply_filters( 'acf/pre_render_field', $field, $post_id );
     
            // Load value if not already loaded.
            if ( $field['value'] === null ) {
                $field['value'] = acf_get_value( $post_id, $field );
            }