add_rewrite_rule Wordpress function


Description:

Add a straight rewrite rule.


Syntax:


Arguments:

(string) $regex Regular Expression to match request against.
(string) $redirect Page to redirect to.
(string) $after Optional, default is 'bottom'. Where to add rule, can also be 'top'.


Return Type:


Define At:

wp-includes/rewrite.php


Wordpress Reference URL:

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


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