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

FAQ Viewed: 1434

When creating a ticket when they choose “order support”or similar 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'] = 'Test Subject';
 
	return $subjects;
}
add_filter('wordpress_helpdesk_new_ticket_WooCommerce_order_subjects', 'my_custom_subjects');

Leave a Reply

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