Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author julien731

    (@julien731)

    Yes Gaia, it is supported. What you need to do is add the following function somewhere (possibly in your theme’s functions.php file).

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

    You will need to replace mu_custom_status by what you want to add. If you want to add more than one custom status, just repeat the first line inside the function.

    Thread Starter Gaia Clary

    (@gaia-clary)

    i was able to use this with a very small modification:

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

    thanks for the help ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘customize ticket states’ is closed to new replies.