The What
Description
This construct returns the number of times the event fired.
Parameters
event_name
- The name of the event you want to check.
Return Values
Returns the number of times the event fired.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
More coming soon…keep checking back.
PHP Constructs
These are the PHP constructs used in WordPress Core for did_action
: