acf/pre_render_field
acf/pre_render_field
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_field') is found 1 times:
- /includes/acf-field-functions.php line 606603604605606607608609610611
// 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
);
}