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

Ask a Question

Your email address will not be published.