acf/pre_render_fields

acf/pre_render_fields

Hook Type: filter

See hook in core

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

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

  • /includes/acf-field-functions.php line 598
    	 *
    	 * @param   array $fields An array of fields.
    	 * @param   (int|string) $post_id The post ID to load values from.
    	 */
    	$fields = apply_filters( 'acf/pre_render_fields', $fields, $post_id );
    
    	// Filter our false results.
    	$fields = array_filter( $fields );
    
    	// Loop over and render fields.
    	if ( $fields ) {