/**
* Orders the jobs alphabetically by title.
*
* @param array $args The query args.
* @return array The modified query args.
*/
function hd_recpress_order_jobs_by_title( $args ) {
// add order and orderby args.
$args['order'] = 'ASC';
$args['orderby'] = 'title';
// return the args.
return $args;
}
add_filter( 'recpress_job_listings_query_args', 'hd_recpress_order_jobs_by_title', 10, 1 );