Don’t use register_post_status before init. Register Post Status is a function used to create and modify post status based on given parameters. register_post_status() function is located in wp-includes/post.php It accepts following two parameters:
$post_status means a string for the post status name $args means an array of arguments
<?php register_post_status( $post_status, $args ); [...]




