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.
See also
Return
(string[]) Handles of items that have been processed.
Source
File: wp-includes/class.wp-styles.php
public function do_footer_items() { $this->do_items( false, 1 ); return $this->done; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.3.0 | Introduced. |