Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Custom_Status_Open

Custom ticket status – open

// Register Custom Status
function custom_ticket_status() {

	$args = array(
		'label'                     => _x( 'Open', 'Status General Name', 'text_domain' ),
		'label_count'               => _n_noop( 'Open (%s)',  'Open (%s)', 'text_domain' ), 
		'public'                    => true,
		'show_in_admin_all_list'    => true,
		'show_in_admin_status_list' => true,
		'exclude_from_search'       => false,
	);
	register_post_status( 'open', $args );

}
add_action( 'init', 'custom_ticket_status', 0 );