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');

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *