int did_action( string $event_name );
This construct returns the number of times the event fired.
- The name of the event you want to check.
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.
These are the PHP constructs used in WordPress Core for