delete_acpt_post_type
delete_acpt_post_type
Delete a custom post type.
Usage
delete_acpt_post_type('new-cpt', true);
Parameters
post_name
(string) (Required) The post namedelete_posts
(boolean) Delete associated posts
Return
boolean
Last updated