WP_Styles::do_footer_items() WordPress Method

The WP_Styles::do_footer_items() method is used to print the styles that have been enqueued in the $wp_styles object. This includes the style tags for registered styles, the style tags for enqueued stylesheets, and the inline style tags for enqueued style blocks. Styles enqueued with the 'late' priority are printed after all other styles.

WP_Styles::do_footer_items() #

Processes items and dependencies for the footer group.


Description

HTML 5 allows styles in the body, grab late enqueued items and output them in the footer.

Top ↑

See also


Top ↑

Return

(string[]) Handles of items that have been processed.


Top ↑

Source

File: wp-includes/class.wp-styles.php

	public function do_footer_items() {
		$this->do_items( false, 1 );
		return $this->done;
	}


Top ↑

Changelog

Changelog
VersionDescription
3.3.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.