WC_Helper::get_subscriptions_url
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() 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' )
);
}