wp_styles

Advertisement

Summery Summery

Initialize $wp_styles if it has not been set.

Syntax Syntax

wp_styles()

Return Return

(WP_Styles) WP_Styles instance.

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();
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.