escape html tags wordpress code example Example: wordpress escape for html // Escaping for HTML attributes. esc_attr( string $text )