WC_Helper::get_subscriptions_url │ private static │ WC 1.0

Get the URL of the My Subscriptions screen used in admin notices.

Method of the class: WC_Helper{}

No Hooks.

Returns

string.

Usage

$result = WC_Helper::get_subscriptions_url();

WC_Helper::get_subscriptions_url() code WC 11.1.2

private static function get_subscriptions_url() {
	return add_query_arg(
		array(
			'page' => 'wc-admin',
			'tab'  => 'my-subscriptions',
			'path' => rawurlencode( '/extensions' ),
		),
		admin_url( 'admin.php' )
	);
}