Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/wp-includes/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ function remove_all_filters( $hook_name, $priority = false ) {
*
* @global string[] $wp_current_filter Stores the list of current filters with the current one last
*
* @return string Hook name of the current filter.
* @return string|false Hook name of the current filter, false if no filter running.
*/
function current_filter() {
global $wp_current_filter;
Expand Down Expand Up @@ -632,7 +632,7 @@ function remove_all_actions( $hook_name, $priority = false ) {
*
* @since 3.9.0
*
* @return string Hook name of the current action.
* @return string|false Hook name of the current action, false if no action running.
*/
function current_action() {
return current_filter();
Expand Down
Loading