How to limit post of custom post status?
You can use one of the status transition filter hooks for this: {$new_status}_{$post_type} transition_post_status In the function assigned to the hook, you change the status to publish the previously featured post ( using e.g. $wpdb ). Both actions are performed after saving the post, so you have to change the status in posts other than … Read more