fix(user-center): link creator center to posts panel
This commit is contained in:
@@ -7,10 +7,7 @@
|
||||
|
||||
defined('ABSPATH') || exit;
|
||||
|
||||
$creation_url = (string) ($new_post_url ?? '');
|
||||
if ($creation_url === '') {
|
||||
$creation_url = isset($dashboard_tabs['posts']) ? aksrt_get_user_center_tab_url('posts') : '';
|
||||
}
|
||||
$creation_url = isset($dashboard_tabs['posts']) ? aksrt_get_user_center_tab_url('posts') : '';
|
||||
$revenue_url = (string) ($revenue_url ?? '');
|
||||
|
||||
if ($creation_url === '' && $revenue_url === '') {
|
||||
|
||||
Reference in New Issue
Block a user