• Resolved Trahald

    (@trahald)


    I believe that in 2.8, clean_url() and sanitize_url() were deprecated in favor of esc_url() and esc_url_raw().

    What are the differences between clean_url()/esc_url() and sanitize_url()/esc_url_raw()? When do you use the former functions, as opposed to the latter functions?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘clean_url() vs. sanitize_url() vs. esc_url() vs. esc_url_raw().?’ is closed to new replies.