wp_styles()

Initialize $wp_styles if it has not been set.


Description Description


Return Return

(WP_Styles) WP_Styles instance.


Top ↑

Source Source

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

function wp_styles() {
	global $wp_styles;
	if ( ! ( $wp_styles instanceof WP_Styles ) ) {
		$wp_styles = new WP_Styles();
	}
	return $wp_styles;
}

Top ↑

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.