wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_register_taxonomies_route › WordPress Function
Seitn/v
Veraltetn/v
› wp_register_taxonomies_route ( $path, $content_module = null, $route_module = null )
| Parameter: (3) |
|
| Definiert in: |
|
| Codex: |
Register a route for the taxonomies page.
Quellcode
function wp_register_taxonomies_route( $path, $content_module = null, $route_module = null ) {
global $wp_taxonomies_routes;
$route = array( 'path' => $path );
if ( ! empty( $content_module ) ) {
$route['content_module'] = $content_module;
}
if ( ! empty( $route_module ) ) {
$route['route_module'] = $route_module;
}
$wp_taxonomies_routes[] = $route;
}