__return_false()

Returns false.


Description

Useful for returning false to filters easily.

Top ↑

See also


Top ↑

Return

(false) False.


Top ↑

Source

File: wp-includes/functions.php

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

Top ↑

Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.