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



__return_null › WordPress Function

Since3.4.0
Deprecatedn/a
__return_null ( No parameters )
Returns:
  • (null) Null value.
Defined at:
Codex:

Returns null.

Useful for returning null to filters easily.


Source

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