| @@ -81,8 +81,13 @@ | ||
| 81 | 81 | * Footer markup |
| 82 | 82 | */ |
| 83 | 83 | public function footer_markup() { |
| 84 | 84 | |
| 85 | + // Keep onboarding template previews aspirational — no admin notices inside the iframe. | |
| 86 | + if ( isset( $_GET['wcf-load-onboarding-iframe'] ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended | |
| 87 | + return; | |
| 88 | + } | |
| 89 | + | |
| 85 | 90 | if ( wcf()->utils->is_step_post_type() ) { |
| 86 | 91 | $flow_id = wcf()->utils->get_flow_id(); |
| 87 | 92 | |
| 88 | 93 | $default_strings = array( |