apply_filters( 'register_post_type_args', array $args, string $post_type )

Filters the arguments for registering a post type.


Parameters

$args

Array of arguments for registering a post type.

$post_type

Post type key.


Source

File: wp-includes/class-wp-post-type.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.