EDD Support Tickets

Change “Sorry” Text On Notice For Non-Customers

If a non-customer is logged in to the ticket submission page, they will not have access to the ticket submission form. Instead, they will see a message.

If you don’t have “Require License Key” enabled, they’ll see this message:

“Sorry, but support is for customers who have purchased something. If this is a mistake, contact us.”

If you do have “Require License Key” enabled, they’ll see this message:

“Sorry, but you need a valid license key in order to receive support. If this is a mistake, contact us.”

Either way, you can change the message to your own custom text with the following filter. Change “Sorry, buy something” on line 5 to your own custom text.

/**
 * Change the "Sorry" notice for non-customers 
 */
function my_eddstix_not_customer_notice( $greeting ) {
	return 'Sorry, buy something.';
}
add_filter('eddstix_sorry_no_support', 'my_eddstix_not_customer_notice');

Updated on December 6, 2017

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]