/** * Load sripts on the front end **/ public function enqueue_scripts() { $min = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min'; wp_enqueue_script('wds-announcements', WDS_Announcements::url('assets/js/wds-announcements' . $min . '.js'), array('jquery'), '100815', true); wp_enqueue_style('wds-announcements', WDS_Announcements::url('assets/css/wds-announcements' . $min . '.css'), true); }