sanitizing/escaping plugin options

sanitize_text_field( $str )
  • Sanitize a string from user input or from the db.

  • Checks for invalid UTF-8, Convert single < characters to entity,
    strip all tags, remove line breaks, tabs and extra white space, strip
    octets

http://codex.wordpress.org/Function_Reference/sanitize_text_field