acf/shortcode/disabled_message
acf/shortcode/disabled_message
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/shortcode/disabled_message') is found 1 times:
- /includes/api/api-template.php line 101110071008100910101011101210131014101510161017
function
acf_shortcode(
$atts
) {
// Return if the ACF shortcode is disabled.
if
( ! acf_get_setting(
'enable_shortcode'
) ) {
if
( is_preview() ) {
return
apply_filters(
'acf/shortcode/disabled_message'
, __(
'[The ACF shortcode is disabled on this site]'
,
'acf'
) );
}
else
{
return
;
}
}
if
( function_exists(
'wp_is_block_theme'
) && wp_is_block_theme() ) {