close
Skip to content
Closed
Changes from 1 commit
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
Next Next commit
Update return doc to String|False
  • Loading branch information
Debarghya-Banerjee committed May 25, 2025
commit 7dd4e29b66c4b207f7adc791576e222e9508954d
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.
Comment thread
Debarghya-Banerjee marked this conversation as resolved.
Outdated
*/
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.
Comment thread
Debarghya-Banerjee marked this conversation as resolved.
Outdated
*/
function current_action() {
return current_filter();
Expand Down
Loading