wp_xmlrpc_server::_is_greater_than_one()privateWP 3.4.0

Helper method for filtering out elements from an array.

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.

wp_xmlrpc_server::_is_greater_than_one() code WP 6.5.2

private function _is_greater_than_one( $count ) {
	return $count > 1;
}