function wpturbo_register_my_post_status(){
$args = array(
'public' => true,
'show_in_admin_all_list' => false,
'show_in_admin_status_list' => false,
'exclude_from_search' => false
);
register_post_status( 'My Status', $args );
}
add_action( 'init', 'wpturbo_register_my_post_status', 0 );
Post status Generator
Related WordPress generators Post type generator Term meta generator Shortcode generator Go back to all generators