Closed Mte90 closed 7 years ago
Ok the problems seems that is the missing init, maybe add an alert can solve this issue.
Yeah the library now requires that the post type is registered on the init
hook, to mirror the behaviour of WordPress core's register_post_type()
function. I updated the docs, but I think I'll add a warning in the code if you register a post type before the init
hook.
I get that error :-/