fbpx

Description

[wcj_product_url] shortcode displays WooCommerce product URL.

Args


product_id
(optional) The integer ID for a product.
Default: The current product ID, if exists

before
(optional) Text to place before the content. If content is empty this argument is ignored.
Default: None

after
(optional) Text to place after the content. If content is empty this argument is ignored.
Default: None

Examples

[wcj_product_url before="Product URL: "]
Accessible through:
  • [wcj_product_url]
Tested on WooCommerce 5.7.1 and WordPress 5.8.1