diff --git a/src/plugin/includes/class-podlove-web-player-embed-api.php b/src/plugin/includes/class-podlove-web-player-embed-api.php index 308c3fe..3dd8d7b 100644 --- a/src/plugin/includes/class-podlove-web-player-embed-api.php +++ b/src/plugin/includes/class-podlove-web-player-embed-api.php @@ -175,7 +175,7 @@ public function registerRoutes() ) ); - register_rest_route($this->plugin_name . '/', 'options', + register_rest_route($this->plugin_name, 'options', array( 'methods' => 'GET', 'callback' => array($this, 'options'),