acf/shortcode/field_not_allowed_message
acf/shortcode/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/shortcode/field_not_allowed_message') is found 1 times:
- /includes/api/api-template.php line 108510811082108310841085108610871088108910901091
}
if
( isset(
$field
[
'allow_in_bindings'
] ) && !
$field
[
'allow_in_bindings'
] ) {
if
( is_preview() ) {
return
apply_filters(
'acf/shortcode/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
;
}
}
if
( apply_filters(
'acf/shortcode/prevent_access'
, false,
$atts
,
$decoded_post_id
[
'id'
],
$decoded_post_id
[
'type'
],
$field_type
,
$field
) ) {