Get the WC product placeholder image in a block
-
In PHP one can easily get the product placeholder image via the
wc_placeholder_img()
function. But, is there an equivalent function for Gutenberg blocks? I’m developing a custom WC block and I don’t know how to get this image via JS.Any ideas?
Thanks in advance
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get the WC product placeholder image in a block’ is closed to new replies.