Documentation

FontAwesome_REST_Response extends WP_REST_Response
in package

Handles FontAwesome-specific enhancements to a REST response.

Table of Contents

Constants

CONFIRMATION_HEADER  = 'FontAwesome-Confirmation'
This header will be present on any response that is an instance of this class.

Constants

CONFIRMATION_HEADER

This header will be present on any response that is an instance of this class.

public mixed CONFIRMATION_HEADER = 'FontAwesome-Confirmation'

Checking for the presence of this header is one way to validate that there hasn't been some premature output from the PHP process that has undermined the HTTP response.

Tags
since
4.0.0

        
On this page

Search results