This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programmieren:wordpress:rest_api_einrichten [2021/09/08 09:35] – jgehrke | programmieren:wordpress:rest_api_einrichten [2022/12/17 12:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 75: | Line 75: | ||
public function register_endpoint() | public function register_endpoint() | ||
{ | { | ||
- | // / | + | // / |
- | // ohne Slash am Anfang und Ende | + | $namespace = ' |
- | $namespace = ' | + | |
$route | $route | ||
$args | $args |