Automattic\WooCommerce\Internal\OrderWithdrawal

OrderWithdrawalEndpoint::get_slug │ public │ WC 11.3.0

Get the configured endpoint slug.

Method of the class: OrderWithdrawalEndpoint{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Since 11.3.0 Introduced.

OrderWithdrawalEndpoint::get_slug() code WC 11.3.0

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