Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Archive-custom-post-status

custom post status of “Archive”

// Register Custom Status
function custom_post_status() {

	$args = array(
		'label'                     => _x( 'Archive', 'Status General Name', 'text_domain' ),
		'label_count'               => _n_noop( 'Archive (%s)',  'Archives (%s)', 'text_domain' ), 
	);
	register_post_status( 'archive', $args );

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