関数 doing_action()
定義ファイル :/blog/wp-includes/plugin.php
doing_action()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /** * Retrieve the name of an action currently being processed. * * @since 3.9.0 * * @uses doing_filter() * * @param string|null $action Optional. Action to check. Defaults to null, which checks * if any action is currently being run. * @return bool Whether the action is currently in the stack. */ function doing_action( $action = null ) { return doing_filter( $action ); } |