diff --git wp-includes/post.php wp-includes/post.php
index ff54440..1cdfbbc 100644
--- wp-includes/post.php
+++ wp-includes/post.php
@@ -1100,6 +1100,9 @@ function register_post_type( $post_type, $args = array() ) {
 		'delete_with_user' => null,
 	);
 	$args = wp_parse_args($args, $defaults);
+
+	$args = apply_filters( 'post_type_args', $args );
+
 	$args = (object) $args;
 
 	$post_type = sanitize_key($post_type);
