wpcom_json_api_output, help

wpcom_json_api_output, help

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('wpcom_json_api_output, help') is found 1 times:

  • /class.json-api.php line 560
    			 * @since 1.9.0
    			 *
    			 * @param string help.
    			 */
    			do_action( 'wpcom_json_api_output', 'help' );
    			$proxied = function_exists( 'wpcom_is_proxied_request' ) ? wpcom_is_proxied_request() : false;
    			// @phan-suppress-next-line PhanPossiblyUndeclaredVariable -- $help_content_type is set when $is_help is true.
    			if ( 'json' === $help_content_type ) {
    				$docs = array();
    				foreach ( $matching_endpoints as $matching_endpoint ) {
    					if ( $matching_endpoint[0]->is_publicly_documentable() || $proxied || WPCOM_JSON_API__DEBUG ) {