EDD Support Tickets

Change or Remove Text Above Ticket Submission Form

The default text above the ticket submission form is, “Fill this out to open a new support ticket.” You can change that text with the following filter. Replace “Custom Text.” on line 7 with your own custom text.

/**
 * Change the text above the ticket submission form.
 */

function my_eddstix_submit_ticket_form_intro( $args ) {
	
	return 'Custom Text.';
}
add_filter( 'eddstix_submit_ticket_form_intro', 'my_eddstix_submit_ticket_form_intro' );

Or, you can remove the text altogether with this:

/**
 * Remove the text above the ticket submission form.
 */

add_action( 'init', 'my_remove_eddstix_show_form_before');

function my_remove_eddstix_show_form_before() {
	remove_action( 'eddstix_show_form_before', 'eddstix_show_form_intro_text' );
}

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]