acf/pre_render_fields
acf/pre_render_fields
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/pre_render_fields') is found 1 times:
- /includes/acf-field-functions.php line 598594595596597598599600601602603604
*
* @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
) {