hitchhackerguide.com
register_post_status
Register a post type. Do not use before init.A simple function for creating or modifying a post status based on the parameters given. The function will accept an array (second optional parameter)…