fix(user-center): connect certification workflow

This commit is contained in:
kate522 committed 2026-07-28 14:17:18 +08:00
1 parent a7f3caec59
commit d3bf75fbea
13 files changed
+97 -23

No files matched your search

+15
View File
@@ -106,6 +106,21 @@ function aksrt_get_revenue_page_url(): string {
}
endif;
if (!function_exists('aksrt_get_user_auth_page_url')) :
/**
* 官方认证页面 URL。
*/
function aksrt_get_user_auth_page_url(): string {
if (function_exists('aksrt_get_template_url')) {
return aksrt_get_template_url('user-auth');
}
if (get_option('permalink_structure')) {
return home_url('/user-auth/');
}
return add_query_arg('aksrt_user_auth', '1', home_url('/'));
}
endif;
if (!function_exists('aksrt_get_messages_page_url')) :
/**
* 消息中心页面 URL(模板 templates/pages/page-messages.php)。