wp.hooks: support the special all
hook
#8602
Labels
Backwards Compatibility
Issues or PRs that impact backwards compatability
[Feature] Extensibility
The ability to extend blocks or the editing experience
[Package] Hooks
/packages/hooks
[Type] Enhancement
A suggestion for improvement.
To match feature parity with the current PHP hooks system in WordPress core, can we add support for an
all
action?A callback added to the 'all' hook fires on any/every hook - especially useful for debugging.
see:
https://github.com/WordPress/wordpress-develop/blob/master/src/wp-includes/plugin.php#L183-L199
https://github.com/WordPress/wordpress-develop/blob/master/src/wp-includes/plugin.php#L437-L453
The text was updated successfully, but these errors were encountered: