| @@ -67,9 +67,9 @@ | ||
| 67 | 67 | /** |
| 68 | 68 | * Resolve the platform that owns a given global-header-footer template name. |
| 69 | 69 | * |
| 70 | 70 | * Template naming is the only signal available at this call depth ('wp-core*' |
| 71 | - * belongs to the email-builder product, everything else to yaymail), so this | |
| 71 | + * belongs to the yaymagic-email-builder product, everything else to yaymail), so this | |
| 72 | 72 | * is the single place that maps it to a registered platform instead of each |
| 73 | 73 | * caller re-deriving option keys inline. |
| 74 | 74 | * |
| 75 | 75 | * @param string $template_name |
| @@ -76,9 +76,9 @@ | ||
| 76 | 76 | * |
| 77 | 77 | * @return \YayMail\Platform\PlatformInterface |
| 78 | 78 | */ |
| 79 | 79 | private static function resolve_platform( $template_name ) { |
| 80 | - $platform_key = str_starts_with( $template_name, 'wp-core' ) ? 'email-builder' : 'yaymail'; | |
| 80 | + $platform_key = str_starts_with( $template_name, 'wp-core' ) ? 'yaymagic-email-builder' : 'yaymail'; | |
| 81 | 81 | |
| 82 | 82 | return PlatformRegistry::get( $platform_key ) ?? PlatformRegistry::get( 'yaymail' ) ?? new YaymailPlatform(); |
| 83 | 83 | } |
| 84 | 84 | |