WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
класс не описан

Services_JSON_Error{} WP 1.0

Хуков нет.

Возвращает

Null. Ничего.

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

$Services_JSON_Error = new Services_JSON_Error();
// use class methods

Методы

  1. __construct(
  2. Services_JSON_Error(

Код Services JSON Error: wp-includes/class-json.php WP 5.2.2

<?php
class Services_JSON_Error extends PEAR_Error
{
    function __construct($message = 'unknown error', $code = null,
                                 $mode = null, $options = null, $userinfo = null)
    {
        parent::PEAR_Error($message, $code, $mode, $options, $userinfo);
    }

	public function Services_JSON_Error($message = 'unknown error', $code = null,
                                 $mode = null, $options = null, $userinfo = null) {
		self::__construct($message = 'unknown error', $code = null,
                                 $mode = null, $options = null, $userinfo = null);
	}
}

} else {

/**
 * @todo Ultimately, this class shall be descended from PEAR_Error
 */
class Services_JSON_Error
{
	    /**
	     * PHP5 constructor.
	     */
    function __construct( $message = 'unknown error', $code = null,
                                 $mode = null, $options = null, $userinfo = null )
    {

    }

	    /**
	     * PHP4 constructor.
	     */
		public function Services_JSON_Error( $message = 'unknown error', $code = null,
	                                     $mode = null, $options = null, $userinfo = null ) {
			self::__construct( $message, $code, $mode, $options, $userinfo );
		}
}