WP_REST_Widgets_Controller::retrieve_widgets() – Looks for "lost" widgets once per request.

Description

Looks for "lost" widgets once per request.

Usage

WP_REST_Widgets_Controller::retrieve_widgets();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php


Lines:

1 to 7 of 7
  protected function retrieve_widgets() {
    if ( ! $this->widgets_retrieved ) {
      retrieve_widgets();
      $this->widgets_retrieved = true;
    }
  }
 

 View on GitHub View on Trac

Called by

    Invoked by

      Call hooks

      API Letters: ,,