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:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user