In some cases, we can have the use of PHP or WP functions as callbacks for hooks in a subscriber.
Good examples are when we want to return true/false, an empty array, etc. WP already has functions for that, and we end up duplicating this into the Subscriber instead.
In some cases, we can have the use of PHP or WP functions as callbacks for hooks in a subscriber.
Good examples are when we want to return true/false, an empty array, etc. WP already has functions for that, and we end up duplicating this into the Subscriber instead.