__return_empty_array(): array

Returns an empty array.


Description

Useful for returning an empty array to filters easily.


Top ↑

Return

array Empty array.


Top ↑

Source

File: wp-includes/functions.php. View all references

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

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.