wpcom_json_api_output, $endpoint->stat

wpcom_json_api_output, $endpoint->stat

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('wpcom_json_api_output, $endpoint->stat') is found 1 times:

  • /class.json-api.php line 589
    		}
    
    		/** This action is documented in class.json-api.php */
    		// @phan-suppress-next-line PhanPossiblyUndeclaredVariable -- $endpoint is set when $find_all_matching_endpoints is false and $found is true, which is guaranteed here.
    		do_action( 'wpcom_json_api_output', $endpoint->stat );
    
    		// @phan-suppress-next-line PhanPossiblyUndeclaredVariable -- $endpoint is set when $find_all_matching_endpoints is false and $found is true, which is guaranteed here.
    		$response = $this->process_request( $endpoint, $path_pieces );
    
    		if ( ! $response && ! is_array( $response ) ) {
    			return $this->output( 500, '', 'text/plain' );