On this page
wp_xmlrpc_server::_is_greater_than_one( int $count ): bool
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Helper method for filtering out elements from an array.
Parameters
$countint Required-
Number to compare to one.
Return
bool True if the number is greater than one, false otherwise.
Source
File: wp-includes/class-wp-xmlrpc-server.php. View all references
private function _is_greater_than_one( $count ) {
return $count > 1;
}
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_xmlrpc_server/_is_greater_than_one