You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, especially in plugins and places when we need to extend or reference it, like when we want to use wp_set_script_translations, we need to get the handle where we can hook into.
Currently, that's not possible. When extending the class I need to manually add this.
If this was a constant I could just reference it using self::JS_ADMIN_HANDLE or something like that. This applies to every enqueue class (theme and block).
The text was updated successfully, but these errors were encountered:
eightshift-libs/src/Enqueue/Admin/AbstractEnqueueAdmin.php
Line 43 in f7b1595
Sometimes, especially in plugins and places when we need to extend or reference it, like when we want to use
wp_set_script_translations
, we need to get the handle where we can hook into.Currently, that's not possible. When extending the class I need to manually add this.
If this was a constant I could just reference it using
self::JS_ADMIN_HANDLE
or something like that. This applies to every enqueue class (theme and block).The text was updated successfully, but these errors were encountered: