Jak zdobyć adres URL strony w WordPress

add_action('wp_head',function(){
    $shop_page_url = get_permalink( wc_get_page_id( 'shop' ) );
    echo $shop_page_url;
}
Prickly Partridge