wp_validate_redirect Wordpress function


Description:

Validates a URL for use in a redirect.


Syntax:


Arguments:

(string) $location The redirect to validate
(string) $default The value to return if $location is not allowed


Return Type:

(string) redirect-sanitized URL


Define At:

wp-includes/pluggable.php


Wordpress Reference URL:

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


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