Alert: 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.
wp_xmlrpc_server::_is_greater_than_one() WordPress Method
The wp_xmlrpc_server::_is_greater_than_one() method is used to check if a given value is greater than 1. This is a utility function used by the XML-RPC server.
wp_xmlrpc_server::_is_greater_than_one( int $count ) #
Helper method for filtering out elements from an array.
Contents
Parameters
- $count
(int)(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
private function _is_greater_than_one( $count ) { return $count > 1; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |