diff --git a/src/wp-includes/class-wp-hook.php b/src/wp-includes/class-wp-hook.php index cd6860c0f81f2..4265a6486bbbc 100644 --- a/src/wp-includes/class-wp-hook.php +++ b/src/wp-includes/class-wp-hook.php @@ -262,11 +262,11 @@ public function has_filter( $hook_name = '', $callback = false, $priority = fals } /** - * Checks if any callbacks have been registered for this hook. + * Checks if any callbacks have been registered for the filter hook. * * @since 4.7.0 * - * @return bool True if callbacks have been registered for the current hook, otherwise false. + * @return bool True if callbacks have been registered for the filter hook, otherwise false. */ public function has_filters() { foreach ( $this->callbacks as $callbacks ) { @@ -279,7 +279,7 @@ public function has_filters() { } /** - * Removes all callbacks from the current filter. + * Removes all callbacks registered on the filter hook. * * @since 4.7.0 *