wpseek.com
A WordPress-centric search engine for devs and theme authors



__return_false › WordPress Function

Since3.0.0
Deprecatedn/a
__return_false ( No parameters )
See:
Returns:
  • (false) False.
Defined at:
Codex:

Returns false.

Useful for returning false to filters easily.


Source

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