feat(admin): native paid-post sales report page

Add aksrt_pay_products under payment center for content-pay posts
(resource orders), with order aggregation and deep-link filters.
This commit is contained in:
kate522 committed 2026-07-15 10:17:27 +08:00
1 parent 42acb1a630
commit 74bde18880
6 files changed
+598 -34

No files matched your search

@@ -54,6 +54,17 @@ class AKSRT_Admin_Pay_Menus {
wp_die(esc_html__('订单模块未初始化。', 'aksrt'));
},
],
'products' => [
'slug' => 'aksrt_pay_products',
'title' => __('付费文章', 'aksrt'),
'callback' => static function (): void {
if (class_exists('AKSRT_Admin_Pay_Products')) {
AKSRT_Admin_Pay_Products::get_instance()->render_products_page();
return;
}
wp_die(esc_html__('付费文章模块未初始化。', 'aksrt'));
},
],
'shipping' => [
'slug' => 'aksrt_shipping',
'title' => __('发货及物流', 'aksrt'),