| @@ -81,9 +81,8 @@ | ||
| 81 | 81 | $plan = $this->get_param( 'plan', 'all' ); |
| 82 | 82 | $plan_type = $this->get_plan( $plan ); |
| 83 | 83 | $platform = $this->get_param( 'platform', 'elementor' ); |
| 84 | 84 | $search = $this->get_param( 'search' ); |
| 85 | - $include_search = $this->get_param( 'include_search' ); | |
| 86 | 85 | $page = $this->get_param( 'page', 1, 'intval' ); |
| 87 | 86 | $per_page = $this->get_param( 'per_page', 40, 'intval' ); |
| 88 | 87 | $template_type_id = $this->get_param( 'template_type_id', 0, 'intval' ); |
| 89 | 88 | $category_id = $this->get_param( 'category_id', 0, 'intval' ); |
| @@ -115,12 +114,8 @@ | ||
| 115 | 114 | } |
| 116 | 115 | |
| 117 | 116 | if ( ! empty( $search ) ) { |
| 118 | 117 | $funcArgs['search'] = $search; |
| 119 | - } | |
| 120 | - | |
| 121 | - if ( ! empty( $include_search ) ) { | |
| 122 | - $funcArgs['include_search'] = $include_search; | |
| 123 | 118 | } |
| 124 | 119 | |
| 125 | 120 | $query = 'total_page, current_page, data { id, fullsite_import, name, price, rating, downloads, type, template_type{ slug }, slug, favourite_count, thumbnail, thumbnail2, thumbnail3 }'; |
| 126 | 121 | if( $type !== 'packs' ) { |