| @@ -34,9 +34,9 @@ | ||
| 34 | 34 | * Source plugins that can be imported. |
| 35 | 35 | * |
| 36 | 36 | * @var string[] |
| 37 | 37 | */ |
| 38 | - private const ALLOWED_PLUGINS = [ 'yoast', 'rankmath', 'seopress', 'aioseo' ]; | |
| 38 | + private const ALLOWED_PLUGINS = [ 'yoast', 'rankmath', 'seopress', 'aioseo', 'squirrly' ]; | |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * Data types processed, in pipeline order. |
| 42 | 42 | * |
| @@ -131,9 +131,9 @@ | ||
| 131 | 131 | |
| 132 | 132 | if ( ! in_array( $plugin, self::ALLOWED_PLUGINS, true ) ) { |
| 133 | 133 | return new \WP_Error( |
| 134 | 134 | 'thinkrank_invalid_import_plugin', |
| 135 | - __( 'A supported source plugin is required (yoast, rankmath, seopress, aioseo).', 'thinkrank' ), | |
| 135 | + __( 'A supported source plugin is required (yoast, rankmath, seopress, aioseo, squirrly).', 'thinkrank' ), | |
| 136 | 136 | [ 'status' => 400 ] |
| 137 | 137 | ); |
| 138 | 138 | } |
| 139 | 139 | |
| @@ -187,8 +187,10 @@ | ||
| 187 | 187 | case 'seopress': |
| 188 | 188 | return new SEOPress_Exporter(); |
| 189 | 189 | case 'aioseo': |
| 190 | 190 | return new AIOSEO_Exporter(); |
| 191 | + case 'squirrly': | |
| 192 | + return new Squirrly_Exporter(); | |
| 191 | 193 | default: |
| 192 | 194 | return null; |
| 193 | 195 | } |
| 194 | 196 | } |