acf/shortcode/field_not_supported_message

acf/shortcode/field_not_supported_message

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.3.11

apply_filters('acf/shortcode/field_not_supported_message') is found 1 times:

  • /includes/api/api-template.php line 1077
    1073
    1074
    1075
    1076
    1077
    1078
    1079
    1080
    1081
    1082
    1083
    $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'] ) {