wp_xmlrpc_server::_is_greater_than_one
Helper method for filtering out elements from an array.
Method of the class: wp_xmlrpc_server{}
No Hooks.
Returns
true|false. True if the number is greater than one, false otherwise.
Usage
// private - for code of main (parent) class only $result = $this->_is_greater_than_one( $count );
- $count(int) (required)
- Number to compare to one.
Changelog
| Since 3.4.0 | Introduced. |
wp_xmlrpc_server::_is_greater_than_one() wp xmlrpc server:: is greater than one code WP 6.9.1
private function _is_greater_than_one( $count ) {
return $count > 1;
}