Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter serendpt

    (@serenine)

    Found this in the FAQ:

    add_filter( 'wpas_ticket_statuses', 'wpas_my_custom_status' );
    function wpas_my_custom_status( $status ) {
    	$status['my_custom_status'] = 'My Custom Status';
    	return $status;
    }

    While getting the desired result—a custom status in the ticket status dropdown, I’m still wondering how the rest of the Style status colors are related to the ticket statuses since they aren’t found in the ticket status dropdown menu.

    Plugin Author julien731

    (@julien731)

    It’s mostly used in the front-end. In the tickets list, the ticket status is displayed as a colored tag.

    Thread Starter serendpt

    (@serenine)

    Hello Julien,

    Thanks.

    1. My question is, how are the statuses assigned? They are not found in the admin dropdown Screenshot

    All statuses are shown on the front end [ screenshot ]
    2. Is there a setting to hide Closed tickets on the front end?
    3. The Open ticket links to a 404 and is hidden in the admin. That’s the one that was assigned the custom status.

    3. The code I used yesterday no longer works on a new theme.

    add_filter( 'wpas_ticket_statuses', 'wpas_my_custom_status' );
    function wpas_my_custom_status( $status ) {
    	$status['my_custom_status'] = 'Awaiting';
    	return $status;
    }

    Is there something missing in the code?

    Let me know if it’s better to submit a ticket on your website to provide site credentials. I purchased a few add-ons recently.

    Thank you for checking.

    Plugin Author julien731

    (@julien731)

    If you have purchased addons then yeah, you should definitely use the priority support on our site: https://getawesomesupport.com/submit-ticket/

    Thread Starter serendpt

    (@serenine)

    Done. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Ticket Status’ is closed to new replies.