wp_xmlrpc_server::_is_greater_than_one() private WP 3.4.0
Helper method for filtering out elements from an array.
{} It's a method of the class: wp_xmlrpc_server{}
No Hooks.
Return
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. |
Code of wp_xmlrpc_server::_is_greater_than_one() wp xmlrpc server:: is greater than one WP 5.7.1
private function _is_greater_than_one( $count ) {
return $count > 1;
}