Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

POST STATUS ⬛ Retiré

// Register Custom Status
function ps_custom_post_status_retire() {

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

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