Automattic\WooCommerce\Proxies
LegacyProxy::exit
Terminates execution of the script.
Метод класса: LegacyProxy{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$LegacyProxy = new LegacyProxy(); $LegacyProxy->exit( $status );
- $status(int|строка)
- An error code to be returned, or an error message to be shown.
По умолчанию:''
Код LegacyProxy::exit() LegacyProxy::exit WC 11.3.0
public function exit( $status = '' ) {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
exit( $status );
}