[wcj_product_image_url]

Display WooCommerce product image URL

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 3.2.5 and WordPress 4.9
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

No comments yet.