diff --git a/inc/class-awsm-job-openings-mail-customizer.php b/inc/class-awsm-job-openings-mail-customizer.php index 19414e90..cbd34d4e 100644 --- a/inc/class-awsm-job-openings-mail-customizer.php +++ b/inc/class-awsm-job-openings-mail-customizer.php @@ -51,6 +51,9 @@ public static function sanitize_content( $content ) { } public static function get_settings() { + if ( ! class_exists( 'AWSM_Job_Openings_Settings' ) ) { + require_once AWSM_JOBS_PLUGIN_DIR . '/admin/class-awsm-job-openings-settings.php'; + } $default_from_email = AWSM_Job_Openings_Settings::awsm_from_email( true ); /** * Filters the notification customizer default values.