rest_preload_api_request


rest_preload_api_request ( $memo, $path )

Parameters:
  • (array) memo Reduce accumulator.
  • (string) path REST API path to preload.
Returns:
  • (array) Modified reduce accumulator.
Defined at:

Description

Append result of internal request to REST API for purpose of preloading data to be attached to a page.Expected to be called in the context of `array_reduce`.

Related Functions

rest_do_request, rest_handle_options_request, rest_ensure_request, rest_parse_request_arg, wp_preload_resources

Top Google Results

User discussions

wpseek mobile