登录注册体系的源码级硬切换
This commit is contained in:
1 parent
73fcd4ed72
commit
af52f9e94d
72 files changed
+1666
-6576
No files matched your search
+1
-1
@@ -111,7 +111,7 @@ add_filter('query_vars', function ($vars) {
|
||||
|
||||
// 主题切换离开时:清理本主题注册的 cron 任务
|
||||
add_action('switch_theme', function () {
|
||||
$hooks = ['aksrt_dl_token_cleanup', 'aksrt_email_verification_backfill_batch', 'aksrt_notification_cleanup', 'aksrt_creator_income_settlement', 'aksrt_vip_membership_expiry'];
|
||||
$hooks = ['aksrt_dl_token_cleanup', 'aksrt_notification_cleanup', 'aksrt_creator_income_settlement', 'aksrt_vip_membership_expiry'];
|
||||
foreach ($hooks as $hook) {
|
||||
$next = wp_next_scheduled($hook);
|
||||
while ($next) {
|
||||
|
||||
Reference in new issue
Block a user