How to be escape Variables and options when echo?
According to the developers handbook, these are the functions that should be used when outputting anything: esc_attr() // Use on everything else that’s printed into an HTML element’s attribute. esc_html() // Use anytime an HTML element encloses a section of data being displayed. esc_js() // Use for inline Javascript. esc_textarea() // Use this to encode … Read more