public static function init()
 {
     // Settings
     self::$default_terms = get_option(self::TERMS_OPTION, 'We do expect payment within 21 days, so please process this invoice within that time. There will be a 1.5% interest charge per month on late invoices.');
     self::$default_notes = get_option(self::NOTES_OPTION, 'Thank you; we really appreciate your business.');
     self::$estimates_slug = get_option(self::SLUG_OPTION, SI_Estimate::REWRITE_SLUG);
     self::register_settings();
     if (is_admin()) {
         // title update to subject
         add_filter('wp_insert_post_data', array(__CLASS__, 'update_post_data'), 100, 2);
         // Meta boxes
         add_action('admin_init', array(__CLASS__, 'register_meta_boxes'), 100);
         add_action('do_meta_boxes', array(__CLASS__, 'modify_meta_boxes'), 100);
         add_action('edit_form_top', array(__CLASS__, 'quick_links'), 100);
         // Single column
         add_filter('get_user_option_screen_layout_sa_estimate', array(__CLASS__, 'screen_layout_pref'));
         add_filter('screen_layout_columns', array(__CLASS__, 'screen_layout_columns'));
     }
     // Rewrite rules
     add_filter('si_register_post_type_args-' . SI_Estimate::POST_TYPE, array(__CLASS__, 'modify_post_type_slug'));
     // Set the default terms and notes
     add_filter('get_estimate_terms', array(__CLASS__, 'maybe_set_estimate_terms'), 10, 2);
     add_filter('get_estimate_notes', array(__CLASS__, 'maybe_set_estimate_notes'), 10, 2);
 }