get_items_permissions_check( $request ); } public function create_item_permissions_check( $request ): bool { return $this->create_items_permissions_check( $request ); } public function register_endpoints() { $this->register_endpoint( new Recent_Posts( $this ) ); $this->register_endpoint( new Add_New_Post( $this ) ); if ( Plugin::$instance->experiments->is_feature_active( 'pages_panel' ) ) { $this->register_endpoint( new Duplicate_Post( $this ) ); $this->register_endpoint( new Homepage( $this ) ); } } protected function register_index_endpoint() { // Bypass, currently does not required. } }