Action hook for post type creation?
-
Hi,
I’m trying to create a function that fires when a new post type is created and uses the new post type slug in the function. Is there an action hook for this?
I this what I need?
cptui_post_register_post_types
If so, how exactly would I pass the post type to the function? I need my function to fire as soon as the post type is created but only when the post type is created (just once).
Thanks for any help.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Action hook for post type creation?’ is closed to new replies.