ActionsProxy
Proxy for interacting with WordPress actions and filters.
Description Description
This class should be used instead of directly accessing the WordPress functions, to ease unit testing.
Source Source
File: src/Proxies/ActionsProxy.php
Methods Methods
- apply_filters — Calls the callback functions that have been added to a filter hook.
- did_action — Retrieve the number of times an action is fired.