W3cubDocs

/WordPress

wp_xmlrpc_server::_is_greater_than_one( int $count ): bool

Helper method for filtering out elements from an array.

Parameters

$countintrequired
Number to compare to one.

Return

bool True if the number is greater than one, false otherwise.

Source

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

Changelog

Version Description
3.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_xmlrpc_server/_is_greater_than_one