WP_REST_Sidebars_Controller::retrieve_widgets()
Looks for "lost" widgets once per request.
Method of the class: WP_REST_Sidebars_Controller{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->retrieve_widgets();
Notes
- See: retrieve_widgets()
Changelog
Since 5.9.0 | Introduced. |
WP_REST_Sidebars_Controller::retrieve_widgets() WP REST Sidebars Controller::retrieve widgets code WP 6.6.2
protected function retrieve_widgets() { if ( ! $this->widgets_retrieved ) { retrieve_widgets(); $this->widgets_retrieved = true; } }