Turn PHP into a shortcode
-
Hi there,
Some helpful member of the WooCommerce Community shared this code with me:
wc_display_product_attributes()
It’s the code to display the product attributes on a single product page.
I’d like to turn this into a shortcode so that I can use it inside the Gutenberg editor. More specifically, I’d like to use it inside a Kadence Element.
Does anyone know how I can turn this into a shortcode?
I’m looking forward to your support. Thank you in advance!
Sincerely,
Hashim
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Turn PHP into a shortcode’ is closed to new replies.