W3cubDocs

/WordPress

do_action( 'unregistered_post_type', string $post_type )

Fires after a post type was unregistered.

Parameters

$post_type

(string) Post type key.

Source

File: wp-includes/post.php

View on Trac

Changelog

Version Description
4.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/unregistered_post_type