[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/build/routes/template/ -> route.js (source)

   1  // routes/template/route.ts
   2  import { redirect } from "@wordpress/route";
   3  var route = {
   4    beforeLoad: () => {
   5      throw redirect({
   6        throw: true,
   7        to: "/templates/list/$activeView",
   8        params: {
   9          activeView: "active"
  10        }
  11      });
  12    }
  13  };
  14  export {
  15    route
  16  };


Generated : Tue May 5 08:20:14 2026 Cross-referenced by PHPXref