| @@ -43,8 +43,12 @@ | ||
| 43 | 43 | private function is_pojo_widget() { |
| 44 | 44 | return $this->get_widget_instance() instanceof \Pojo_Widget_Base; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + public function hide_on_search() { | |
| 48 | + return Plugin::$instance->experiments->is_feature_active( 'e_hidden_wordpress_widgets' ); | |
| 49 | + } | |
| 50 | + | |
| 47 | 51 | /** |
| 48 | 52 | * Get widget name. |
| 49 | 53 | * |
| 50 | 54 | * Retrieve WordPress/Pojo widget name. |