add_permastruct
add_permastruct ( $name, $struct, $args = array() )
Parameters:- (string) name Name for permalink structure.
- (string) struct Permalink structure.
- (array) args Optional. Arguments for building the rules from the permalink structure, see WP_Rewrite::add_permastruct() for full details. Default empty array.
See:Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Adds a permalink structure.