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.


Parameters

$count

(int)(Required)Number to compare to one.


Top ↑

Return

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


Top ↑

Source

File: wp-includes/class-wp-xmlrpc-server.php

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

Top ↑

Changelog

Changelog
VersionDescription
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More