wp_script_modules
wp_script_modules ( No parameters )
Returns:- (WP_Script_Modules) The main WP_Script_Modules instance.
Defined at: - Introduced in WordPress: 6.5.0
- Deprecated in WordPress: —
Description
Retrieves the main WP_Script_Modules instance.This function provides access to the WP_Script_Modules instance, creating one
if it doesn't exist yet.