dashed-slug.net › Forums › Exchange extension support › Searching exchange orders and transactions › Reply To: Searching exchange orders and transactions
You won’t.
WP_Query
is for retrieving pages, posts and custom post types. These all reside in the wp_posts
table.
Transactions are stored in a custom table, wp_wallets_txs
. Exchange trades are stored in wp_wallets_trades
. This requires custom work with the $wpdb
object.
The bulk of the work is integrating with the subclasses of WP_List_Table
and constructing the SQL query dynamically. This all requires custom code.
I have added tickets to my backlog to add search to the transactions query, and to create a new WP_List_Table
admin page for trades, which will then need their own search queries.
This is why these tickets have been sitting on my backlog since 2018, it’s a considerable amount of work and I’m always too busy. I will try to get this done soon, though.
with regards