registered_post_type

最后更新于:2021-11-27 21:43:11

do_action( ‘registered_post_type’, string $post_type, GC_Post_Type $post_type_object )

Fires after a post type is registered.

参数

$post_type

(string)
Post type.

$post_type_object

(GC_Post_Type)
Arguments used to register the post type.

源文件

文件: gc-includes/post.php

View on Trac