We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b4f72 commit 93d973eCopy full SHA for 93d973e
docs/best-practices-asset-management.md
@@ -10,7 +10,7 @@ Always register CSS and JavaScript first instead of directly enqueueing them. Th
10
11
#### Always register assets globally
12
13
-Never scope a script registration inside `is_admin()` or another check to prevent registration collision.
+Never scope a script registration inside `is_admin()` or another check to prevent registration collision. Only scope enqueues.
14
15
#### Store the string used to register/enqueue an asset in a static class variable or PHP constant
16
0 commit comments