Scripts Styles
WP_Dependencies
Base class for managing dependencies. Extended by WP_Scripts and WP_Styles.Source: wp-includes/class-wp-dependencies.php Since: 2.6.0PropertiesPublic PropertiesPropertyTypeSinceDescription$registered_WP_Dependency[]2.6.8All registered items keyed by handle$queuestring[]2.6.8Handles of...
WP_Scripts
Core class for registering and outputting JavaScript files.Source: wp-includes/class-wp-scripts.php Since: 2.1.0 Extends: WP_DependenciesPropertiesPublic PropertiesPropertyTypeSinceDescription$base_urlstring2.6.0Base URL for scripts (trailing slash)$content_urlstring2.8.0URL of...
WP_Styles
Core class for registering and outputting CSS stylesheets.Source: wp-includes/class-wp-styles.php Since: 2.6.0 Extends: WP_DependenciesPropertiesPublic PropertiesPropertyTypeSinceDescription$base_urlstring2.6.0Base URL for styles (trailing slash)$content_urlstring2.8.0URL of...
Scripts & Styles Functions
Core functions for managing JavaScript and CSS assets.Source: wp-includes/functions.wp-scripts.php, wp-includes/functions.wp-styles.php, wp-includes/script-loader.phpScript Functionswp_scripts()Initializes and returns the global WP_Scripts instance.wp_scripts(): WP_ScriptsSince: 4.2.0Returns:...
Scripts & Styles Hooks
Actions and filters for the WordPress scripts and styles system.Actionswp_enqueue_scriptsPrimary hook for enqueueing front-end scripts and styles.do_action( 'wp_enqueue_scripts' );Since: 2.8.0...
Scripts & Styles API
System for registering, enqueueing, and outputting JavaScript and CSS assets in WordPress.Since: 2.1.0 (scripts), 2.6.0 (styles) Source: wp-includes/script-loader.php, wp-includes/functions.wp-scripts.php, wp-includes/functions.wp-styles.phpComponentsComponentDescriptionfunctions.mdCore...