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:

Description

Adds a permalink structure.

Related Functions

remove_permastruct, add_post_meta, add_query_arg, add_term_meta, add_user_meta

Top Google Results

User discussions

wpseek mobile