Automattic\WooCommerce\Internal\OrderWithdrawal

OrderWithdrawalEndpoint::get_slug │ public │ WC 11.3.0

Get the configured endpoint slug.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$OrderWithdrawalEndpoint = new OrderWithdrawalEndpoint();
$OrderWithdrawalEndpoint->get_slug(): string;

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

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

Код OrderWithdrawalEndpoint::get_slug() WC 11.3.0

public function get_slug(): string {
	return (string) get_option( self::ENDPOINT_OPTION, self::ENDPOINT_SLUG );
}