WP_Customize_Widgets::tally_rendered_widgets( array $widget )
Tracks the widgets that were rendered.
Parameters
- $widget
-
(array) (Required) Rendered widget to tally.
Source
File: wp-includes/class-wp-customize-widgets.php
public function tally_rendered_widgets( $widget ) { $this->rendered_widgets[ $widget['id'] ] = true; }
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_widgets/tally_rendered_widgets