関数 current_filter()
定義ファイル :/blog/wp-includes/plugin.php
current_filter()
1 2 3 4 5 6 7 8 9 10 11 | /** * Retrieve the name of the current filter or action. * * @since 2.5.0 * * @return string Hook name of the current filter or action. */ function current_filter() { global $wp_current_filter; return end( $wp_current_filter ); } |