__return_false() – Returns false.

You appear to be a bot. Output may be restricted

Description

Returns false.

Useful for returning false to filters easily.

Usage

$false = __return_false();

Parameters

Returns

false False.

Source

File name: wordpress/wp-includes/functions.php
Lines:

1 to 3 of 3
function __return_false() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore
  return false;
}
 

 View on GitHub View on Trac