esc_url_raw


esc_url_raw ( $url, $protocols = null )

Parameters:
  • (string) $url The URL to be cleaned.
  • (array) $protocols An array of acceptable protocols.
Returns:
  • (string) The cleaned URL.
Defined at:

Description

Performs esc_url() for database usage.

Related Functions

esc_url, rest_url, esc_html_x, esc_html__, esc_html_e

Top Google Results

User discussions

wpseek mobile