I am using the redux framework and I want to use the select section as drpwdown and display the list of products, but I don't know how to call the products? Show products in the dropdown list
$fields = array(
'id' => 'creations_pro_id',
'type' => 'select',
'data' => 'post_type',
'args' => array(
'post_type' => 'product',
)
),
This is another way:
This method also works correctly