Server IP : 172.67.158.161 / Your IP : 3.139.72.254 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/public_html/wp-content/plugins/font-awesome/includes/ |
Upload File : |
<?php /** * Custom handling for FontAwesome REST responses. */ namespace FortAwesome; use \WP_REST_Response; /** * Handles FontAwesome-specific enhancements to a REST response. */ class FontAwesome_REST_Response extends WP_REST_Response { /** * This header will be present on any response that is an instance * of this class. * * 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. * * @since 4.0.0 */ const CONFIRMATION_HEADER = 'FontAwesome-Confirmation'; /** * Internal use only. * * @ignore * @internal */ public function __construct( $data = null, $status = 200, $headers = array() ) { return parent::__construct( $data, $status, array_merge( array( self::CONFIRMATION_HEADER => 1, ), $headers ) ); } }