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

FAQ Viewed: 499

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');
This Post Has 0 Comments

Leave a Reply

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