fbpx

Description

[wcj_product_image_url] shortcode displays WooCommerce product image 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_image_url before="Product image URL: "]
Accessible through:
  • [wcj_product_image_url]
Tested on WooCommerce 5.1.0 and WordPress 5.7