Last active
August 29, 2015 14:01
-
-
Save igmoweb/ac726064c45f1c28f29e to your computer and use it in GitHub Desktop.
How to know if a hook has already been executed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $hook_executed = did_action( 'init' ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment