Use code PERFMATTERS for an extra 10% off!
  1. Home
  2. Docs
  3. General
  4. How to display script dependencies in the Script Manager

How to display script dependencies in the Script Manager

Seeing dependencies can be helpful to know which scripts are safe to disable or to troubleshoot a conflict. You can display script dependencies in the Script Manager to see the following two attributes:

  • Required by
  • Depends on

In this example, you can see that dashicons is required by the admin-bar.

Required by script dependency
Required by script dependency

In this example, you can see that wp-util depends on underscore and jquery.

Depends on script dependency
Depends on script dependency

How to display script dependencies

This is off by default. To display script dependencies, follow the steps below.

Step 1

Click into the Script Manager settings.

Script Manager settings
Script Manager settings

Step 2

Toggle on “Display Dependencies.”

Display Dependencies
Display Dependencies

Step 3

Click “Save.” Dependencies will now show underneath each script in the Script Manager that has one.

Was this article helpful?

Related Articles