Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




esc_url_raw [ WordPress Function ]

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

Soorgelijke functies: esc_url, esc_html_e, esc_html__, esc_html_x, esc_sql


Performs esc_url() for database usage.

Source


<?php
function esc_url_raw$url$protocols null ) {
    return 
esc_url$url$protocols'db' );
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics