| @@ -12,8 +12,9 @@ | ||
| 12 | 12 | use Automattic\Jetpack\Blocks; |
| 13 | 13 | use Automattic\Jetpack\Connection\Manager as Connection_Manager; |
| 14 | 14 | use Automattic\Jetpack\Search\Module_Control as Search_Module_Control; |
| 15 | 15 | use Automattic\Jetpack\Search\Plan as Search_Plan; |
| 16 | +use Automattic\Jetpack\Search\Search_Blocks; | |
| 16 | 17 | use Automattic\Jetpack\Status; |
| 17 | 18 | use Automattic\Jetpack\Status\Host; |
| 18 | 19 | use Jetpack_Gutenberg; |
| 19 | 20 | |
| @@ -103,8 +104,9 @@ | ||
| 103 | 104 | // index, so it gates on this rather than on `instant_search_enabled`. |
| 104 | 105 | 'module_active' => $search->is_active(), |
| 105 | 106 | 'instant_search_enabled' => $search->is_instant_search_enabled(), |
| 106 | 107 | 'plan_supports_search' => $plan->supports_instant_search(), |
| 108 | + 'supports_paid_search' => Search_Blocks::supports_paid_search(), | |
| 107 | 109 | ), |
| 108 | 110 | ); |
| 109 | 111 | wp_add_inline_script( |
| 110 | 112 | 'jetpack-blocks-editor', |