__return_empty_array()
Returns an empty array.
Description Description
Useful for returning an empty array to filters easily.
Return Return
(array) Empty array.
Source Source
File: wp-includes/functions.php
function __return_empty_array() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore,PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames.FunctionDoubleUnderscore return array(); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |