Wordpres: Notes

WordPress Form Value WordPress Data Validation:  sanitize_email() sanitize_file_name() sanitize_html_class() sanitize_key() sanitize_mime_type() sanitize_option() sanitize_sql_orderby() sanitize_text_field() sanitize_title_for_query() sanitize_title_with_dashes() sanitize_user() sanitize_meta() sanitize_term() sanitize_term_field() Escaping: Securing Output: esc_html() we should use anytime our HTML element encloses a section of data we’re outputting. esc_url() should be used on all URLs, including those in the ‘src’ Read more…