class-wp-scoped-hooks.php
Interfaces, Classes and Traits
- WP_Scoped_Hooks
- Allows a temporary hook environment to be created for a given timeframe (i.e. scope), where any hooks added or removed will be recognised only during the specified scope. After the given scope, the original WordPress hook environment is restored to its previous state.