acf/shortcode/field_not_allowed_message

acf/shortcode/field_not_allowed_message

Hook Type: filter

See hook in core

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

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

  • /includes/api/api-template.php line 1085
    	}
    
    	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 ) ) {