【发布时间】:2018-04-22 12:02:41
【问题描述】:
需要从键为[0]的数组中取值,但数组在对象中。我怎样才能把它放在一个变量中?
WC_Product_Variable Object ( [children:protected] => Array ( [0] => 344 [1] => 345 ) [visible_children:protected] => Array ( [0] => 344 [1] => 345 )
【问题讨论】:
标签: php wordpress woocommerce product children