AssetEdits final class
Minn\Runtime\AssetEdits · public/minn/src/Minn/Runtime/AssetEdits.php · 42 lines
What a plugin did to $wp_scripts->registered or $wp_styles->registered directly, as wp_default_scripts callbacks do (a dependency dropped, a source swapped, an entry unset or added), handed to the registry: each handle as the view showed it last against the view as the plugin left it.
Uses 2
Used by 1
Public
| static | apply(Minn\Runtime\Assets $assets, array $edited, array $synced, ?string $only = NULL): void# | The edits applied, for every handle or only the one named. The view changes with each edit the registry takes, so the edited view is read from the copy handed in.
|
Nothing matches.