add_rewrite_tag Wordpress function


Description:

Add a new rewrite tag (like %postname%).


Syntax:


Arguments:

(string) $tag Name of the new rewrite tag.
(string) $regex Regular expression to substitute the tag for in rewrite rules.
(string) $query String to append to the rewritten query. Must end in '='. Optional.


Return Type:


Define At:

wp-includes/rewrite.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/add_rewrite_tag


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×