sanitize_url Wordpress function


Description:

Performs esc_url() for database or redirect usage.


Syntax:


Arguments:

(string) $url The URL to be cleaned.
(array) $protocols An array of acceptable protocols.


Return Type:

(string) The cleaned URL.


Define At:

wp-includes/deprecated.php


Wordpress Reference URL:

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


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