We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823c596 commit 2d6c1acCopy full SHA for 2d6c1ac
bootstrap.php
@@ -73,8 +73,11 @@ function nfd_wp_module_onboarding_register() {
73
// Handle Module Disable if Non-Ecommerce
74
ModuleController::init();
75
76
- // Clear site capabilities transient after onboarding is completed
77
- add_action('newfold/onboarding/completed', function() {
78
- delete_transient( 'nfd_site_capabilities' );
79
- });
+ // Clear site capabilities transient after onboarding is completed so CTBs are accessible right away
+ add_action(
+ 'newfold/onboarding/completed',
+ function() {
80
+ delete_transient( 'nfd_site_capabilities' );
81
+ }
82
+ );
83
}
0 commit comments