AssetEdits final class
Minn\Runtime\AssetEdits · public/minn/src/Minn/Runtime/AssetEdits.php · 33 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 1
Public
| static | apply(Minn\Runtime\Assets $assets, array $edited, array $synced): void# | The edits applied. The view is rebuilt by every change the registry takes, so the edited view is read from the copy handed in.
|
Nothing matches.