Yoast\WP\SEO\Abilities\Domain\Exceptions
Unavailable_Global_Setting_Target_Exception::get_error_code
Returns the machine-readable code of the error.
Метод класса: Unavailable_Global_Setting_Target_Exception{}
Хуков нет.
Возвращает
string. The error code.
Использование
$Unavailable_Global_Setting_Target_Exception = new Unavailable_Global_Setting_Target_Exception(); $Unavailable_Global_Setting_Target_Exception->get_error_code(): string;
Код Unavailable_Global_Setting_Target_Exception::get_error_code() Unavailable Global Setting Target Exception::get error code Yoast 28.9
public function get_error_code(): string {
return $this->error_code;
}