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



__return_zero › WordPress Function

Since3.0.0
Deprecatedn/a
__return_zero ( No parameters )
Returns:
  • (int) 0.
Defined at:
Codex:

Returns 0.

Useful for returning 0 to filters easily.


Source

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