有没有一种方法可以使用functions.php在WordPress上获取“定价表”数据选项?

时间:2019-05-30 01:48:38

标签: php wordpress woocommerce

是否可以使用functions.php获取定价表选项数据?

请参阅所附的屏幕截图:

enter image description here

1 个答案:

答案 0 :(得分:0)

您是否尝试编写sql请求? 喜欢:

<?php $results = $wpdb->get_results( "SELECT * FROM $table_name"); // Query to fetch data from database table and storing in $results

相关问题