Where can I modify the ticket “subject” drop down values?

When creating a ticket in WooCommerce for example, a user has to choose “order support” or a similar subject. Where can I modify the drop down “subject” values?

You can use the following Filter “wordpress_helpdesk_new_ticket_WooCommerce_order_subjects”.

An Example:

function my_custom_subjects($subjects) {

	// Adding a new subject
	$subjects[] = 'Test Subject';
 
	return $subjects;
}
add_filter('wordpress_helpdesk_new_ticket_WooCommerce_order_subjects', 'my_custom_subjects');

4 thoughts on “Where can I modify the ticket “subject” drop down values?

Leave a Reply

Your email address will not be published. Required fields are marked *