Ejemplo n.º 1
0
 public function register_routes($namespace)
 {
     parent::register_route($namespace, self::URL, '/wpml', ['callback' => [$this, 'get_wpml_languages']]);
 }
Ejemplo n.º 2
0
 public function register_routes($namespace)
 {
     parent::register_route($namespace, self::URL, '/', ['callback' => [$this, 'get_multisites']]);
 }
Ejemplo n.º 3
0
 public function register_routes($namespace)
 {
     $args = $this->get_route_args();
     parent::register_route($namespace, self::URL, $this->get_subpath(), ['callback' => [$this, 'get_modified_content'], 'args' => $args]);
 }