関数
PollingCron::getAllAmazonPayOrders()
Returns all order IDs associated with an Amazon Pay order
戻り値 戻り値
ファイル: src/Admin/PollingCron.php
public function getAllAmazonPayOrders() { global $wpdb; $order_meta_table_name = $wpdb->prefix . 'usces_order_meta'; $query = $wpdb->prepare( "SELECT order_id FROM {$order_meta_table_name} WHERE meta_key = %s ORDER BY order_id ASC", Models\OrderMeta::CHARGE_PERMISSION_ID ); $orderIds = $wpdb->get_results($query, ARRAY_A); if (empty($orderIds)) { return []; } return $orderIds; }