diff --git a/wp-includes/functions.php b/wp-includes/functions.php index a2113e5018..b7b0109411 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -4047,11 +4047,24 @@ function _search_terms_tidy($t) { return trim($t, "\"'\n\r "); } +/** + * Returns true + * + * Useful for returning true to filters easily + * + * @see __return_false() + * @return bool true + */ +function __return_true() { + return true; +} + /** * Returns false * * Useful for returning false to filters easily - * + * + * @see __return_true() * @return bool false */ function __return_false() {