WC_Helper::get_subscriptions_url
Get the URL of the My Subscriptions screen used in admin notices.
Метод класса: WC_Helper{}
Хуков нет.
Возвращает
string.
Использование
$result = WC_Helper::get_subscriptions_url();
Код WC_Helper::get_subscriptions_url() WC Helper::get subscriptions url WC 11.3.0
private static function get_subscriptions_url() {
return add_query_arg(
array(
'page' => 'wc-admin',
'tab' => 'my-subscriptions',
'path' => rawurlencode( '/extensions' ),
),
admin_url( 'admin.php' )
);
}