WP_Customize_Widgets::tally_rendered_widgets() WordPress Method

This method is used to tally the number of rendered widgets. It is used internally by WordPress.

WP_Customize_Widgets::tally_rendered_widgets( array $widget ) #

Tracks the widgets that were rendered.


Parameters

$widget

(array)(Required)Rendered widget to tally.


Top ↑

Source

File: wp-includes/class-wp-customize-widgets.php

	public function tally_rendered_widgets( $widget ) {
		$this->rendered_widgets[ $widget['id'] ] = true;
	}

Top ↑

Changelog

Changelog
VersionDescription
3.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.