| @@ -5,9 +5,8 @@ | ||
| 5 | 5 | use Elementor\Plugin; |
| 6 | 6 | use Elementor\Data\V2\Base\Controller as Base_Controller; |
| 7 | 7 | use Elementor\Modules\SiteNavigation\Data\Endpoints\Add_New_Post; |
| 8 | 8 | use Elementor\Modules\SiteNavigation\Data\Endpoints\Duplicate_Post; |
| 9 | -use Elementor\Modules\SiteNavigation\Data\Endpoints\Homepage; | |
| 10 | 9 | use Elementor\Modules\SiteNavigation\Data\Endpoints\Recent_Posts; |
| 11 | 10 | |
| 12 | 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | 12 | exit; // Exit if accessed directly. |
| @@ -41,9 +40,8 @@ | ||
| 41 | 40 | $this->register_endpoint( new Add_New_Post( $this ) ); |
| 42 | 41 | |
| 43 | 42 | if ( Plugin::$instance->experiments->is_feature_active( 'pages_panel' ) ) { |
| 44 | 43 | $this->register_endpoint( new Duplicate_Post( $this ) ); |
| 45 | - $this->register_endpoint( new Homepage( $this ) ); | |
| 46 | 44 | } |
| 47 | 45 | } |
| 48 | 46 | |
| 49 | 47 | protected function register_index_endpoint() { |