function first_install() { parent::first_install(); $dismissed = get_option('newsletter_dismissed', array()); $dismissed['wpmail'] = 1; update_option('newsletter_dismissed', $dismissed); }