wp_rest_request-get_header_as_array

method