function get_options($sub = '') { if ($sub == '') { // For compatibility the options are wrongly named return get_option('newsletter', array()); } if ($sub == 'profile') { // For compatibility the options are wrongly named return get_option('newsletter_profile', array()); } return parent::get_options($sub); }