/**
  * Frontend scripts.
  */
 public function wp_enqueue_scripts()
 {
     wp_enqueue_script('job-regions', wp_job_manager_regions()->plugin_url . '/assets/js/main.js', array('jquery', 'chosen'), 20140525, true);
 }
        if (is_int($region)) {
            $region = array(absint($region));
        }
        $query_args['tax_query'][] = array('taxonomy' => 'job_listing_region', 'field' => 'id', 'terms' => $region, 'operator' => 'IN');
        return $query_args;
    }
    /**
     * Loads the plugin language files
     */
    public function load_textdomain()
    {
        $locale = apply_filters('plugin_locale', get_locale(), 'wp-job-manager-locations');
        load_textdomain('wp-job-manager-locations', WP_LANG_DIR . "/wp-job-manager-locations/wp-job-manager-locations-{$locale}.mo");
        load_plugin_textdomain('wp-job-manager-locations', false, dirname(plugin_basename(__FILE__)) . '/languages/');
    }
}
/**
 * Start things up.
 *
 * Use this function instead of a global.
 *
 * $ajmr = ajmr();
 *
 * @since 1.0.0
 */
function wp_job_manager_regions()
{
    return Astoundify_Job_Manager_Regions::instance();
}
wp_job_manager_regions();
 public function setup_actions()
 {
     $regions = wp_job_manager_regions();
     remove_filter('the_job_location', array($regions->template, 'the_job_location'), 10, 2);
 }