acf/pre_render_fields

acf/pre_render_fields

Hook Type: filter

See hook in core

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

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

  • /includes/acf-field-functions.php line 598
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    *
     * @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 ) {