Set term-multiselect field max select options for WP Job Manager (place this in your theme’s functions.php file)

functions.php

<?php

add_filter( 'job_manager_chosen_multiselect_args', 'set_term_multiselect_max_opts' );

function set_term_multiselect_max_opts( $args ){
	$args['max_selected_options'] = 5;
	return $args;
}
No comments yet.

Leave a Reply