acf/pre_render_field

acf/pre_render_field

Hook Type: filter

See hook in core

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

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

  • /includes/acf-field-functions.php line 608
    	// 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 );
    			}