wp_xmlrpc_server::_is_greater_than_one()privateWP 3.4.0

Helper method for filtering out elements from an array.

Метод класса: wp_xmlrpc_server{}

Хуков нет.

Возвращает

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

Использование

// private - только в коде основоного (родительского) класса
$result = $this->_is_greater_than_one( $count );
$count(int) (обязательный)
Number to compare to one.

Список изменений

С версии 3.4.0 Введена.

Код wp_xmlrpc_server::_is_greater_than_one() WP 6.4.3

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