acf/bindings/field_not_allowed_message
acf/bindings/field_not_allowed_message
Appears in: advanced-custom-fields.6.3.6.3
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.6.3apply_filters('acf/bindings/field_not_allowed_message') is found 1 times:
- /includes/Blocks/Bindings.php line 726869707172737475767778
}
if
( isset(
$field
[
'allow_in_bindings'
] ) && !
$field
[
'allow_in_bindings'
] ) {
if
( is_preview() ) {
return
apply_filters(
'acf/bindings/field_not_allowed_message'
,
'['
. esc_html__(
'The requested ACF field is not allowed to be output in bindings or the ACF Shortcode.'
,
'acf'
) .
']'
);
}
else
{
return
''
;
}
}
$value
=
$field
[
'value'
];