feat(payment): separate creator income settlement
This commit is contained in:
1 parent
cd93ea1656
commit
e20418e909
17 files changed
+451
-445
No files matched your search
@@ -109,7 +109,7 @@ if (!function_exists('aksrt_get_user_center_tab_url')) {
|
||||
$url = remove_query_arg([
|
||||
'tab', 'posts_page', 'comments_page', 'favorites_page', 'credits_page',
|
||||
'post_status', 'creator_page', 'creator_status', 'saved', 'profile_error',
|
||||
'order_tab', 'otab', 'order_status', 'order_page', 'order_type', 'section',
|
||||
'order_tab', 'otab', 'order_status', 'order_page', 'order_type', 'income_currency', 'income_status', 'income_page', 'section',
|
||||
], aksrt_get_user_center_url());
|
||||
|
||||
return add_query_arg('tab', $tab, $url);
|
||||
@@ -480,7 +480,7 @@ if (!function_exists('aksrt_get_user_center_render_context')) {
|
||||
$post_status_filter = 'publish';
|
||||
}
|
||||
$user_status_counts = ['publish' => 0, 'draft' => 0, 'pending' => 0, 'private' => 0];
|
||||
if ('posts' === $active_tab || 'creator' === $active_tab) {
|
||||
if ('posts' === $active_tab) {
|
||||
$status = aksrt_user_center_post_status_counts($user_id);
|
||||
$user_status_counts = $status['counts'];
|
||||
$post_count = $status['total'];
|
||||
|
||||
Reference in new issue
Block a user