wp_scripts()
Initialize $wp_scripts if it has not been set.
Description Description
Return Return
(WP_Scripts) WP_Scripts instance.
Source Source
File: wp-includes/functions.wp-scripts.php
function wp_scripts() { global $wp_scripts; if ( ! ( $wp_scripts instanceof WP_Scripts ) ) { $wp_scripts = new WP_Scripts(); } return $wp_scripts; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |