Answer the question
In order to leave comments, you need to log in
How to get image link from php array?
Good afternoon
I'm not friends with php
Please tell me how to display a link to the image [woocommerce_thumbnail] from such an array?
Array (
[ID] => 10308
[id] => 10308
[menu_order] => 0
[mime_type] => image/png
[type] => image
[subtype] => png
[icon] => http://site.cool/wp-includes/images/media/default.png
[width] => 200
[height] => 200
[sizes] => Array (
[large-width] => 200
[large-height] => 200
[woocommerce_thumbnail] => http://site.cool/wp-content/uploads/2021/11/paneli-led-200x200.png
)
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question