acf/shortcode/field_not_supported_message
acf/shortcode/field_not_supported_message
Appears in: advanced-custom-fields.6.3.11
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.11apply_filters('acf/shortcode/field_not_supported_message') is found 1 times:
- /includes/api/api-template.php line 107710731074107510761077107810791080108110821083
$field_type
=
is_array
(
$field
) && isset(
$field
[
'type'
] ) ?
$field
[
'type'
] :
'text'
;
if
( ! acf_field_type_supports(
$field_type
,
'bindings'
, true ) ) {
if
( is_preview() ) {
return
apply_filters(
'acf/shortcode/field_not_supported_message'
,
'['
. esc_html__(
'The requested ACF field type does not support output in bindings or the ACF Shortcode.'
,
'acf'
) .
']'
);
}
else
{
return
;
}
}
if
( isset(
$field
[
'allow_in_bindings'
] ) && !
$field
[
'allow_in_bindings'
] ) {