Yoast\WP\SEO\AI_HTTP_Request\Domain\Exceptions
Payment_Required_Exception::__construct
Устарела с версии 28.4. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
Payment_Required_Exception constructor.
Метод класса: Payment_Required_Exception{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Payment_Required_Exception = new Payment_Required_Exception(); $Payment_Required_Exception->__construct( $message, $code, $error_identifier, $previous, $missing_licenses );
- $message(строка)
- The error message.
По умолчанию:'' - $code(int)
- The error status code.
- $error_identifier(строка)
- The error code identifier, used to identify a type of error.
По умолчанию:'' - $previous
- .
По умолчанию:null - $missing_licenses(string[])
- The missing plugin licenses.
По умолчанию:[]
Список изменений
| Устарела с | 28.4 |
Код Payment_Required_Exception::__construct() Payment Required Exception:: construct Yoast 28.9
public function __construct( $message = '', $code = 0, $error_identifier = '', $previous = null, $missing_licenses = [] ) {
\_deprecated_function( __METHOD__, 'Yoast SEO 28.4' );
$this->missing_licenses = $missing_licenses;
parent::__construct( $message, $code, $error_identifier, $previous );
}