acf/bindings/field_not_allowed_message

acf/bindings/field_not_allowed_message

Hook Type: filter

See hook in core

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

apply_filters('acf/bindings/field_not_allowed_message') is found 1 times:

  • /includes/Blocks/Bindings.php line 72
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    }
     
    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'];