![]() * The listed dependencies are not complete.įile: wp-includes/. Registered scripts might change per requested page. the Codex for adminprintscripts () states ' adminprintscripts should not be used to enqueue styles or scripts. For a complete list of registered files inspect $GLOBALS in the admin UI. The method for adding your own scripts and styles to your theme is called enqueueing. Image cropper (not used in core, see jcrop) Some of them are listed in the table below.įor a detailed list of names that can be used in place of the $handle parameter, see wp_register_script(). adminenqueuescripts is the proper hook to use when enqueuing scripts and styles that are meant to be used in the administration panel. Top ↑ Default Scripts and JS Libraries Included and Registered by WordPressīy default, WordPress installation includes many popular javascript libraries and scripts commonly used by web developers besides the scripts used by WordPress itself. 1 Answer Sorted by: 2 You can use screen getcurrentscreen () functions to get the current screen and add warp your enqueue method with the if conditions to check the screen.
0 Comments
Leave a Reply. |