3

The parameter "_builtin" => true is a huge help for me, as this will set good permalink structure, like standard posts, for example:

example.com/my_category/sub_category/POST-NAME
instead of
example.com/POST-NAME

But in documentation, it is not advised - see note:

Note: this Codex entry is for documentation - core developers recommend you don't use this when registering your own post type

Why?

May I rely on that, and start building my site with it? or it will be removed soon?

  • what does "as this will set good permalink structure, like standard posts" mean? – Milo Jul 25 '15 at 19:13
  • @milo I have updated my question. I described all details. – T.Todua Jul 26 '15 at 14:38
1

I'd figure, it mainly is not advised, because it is intended just to use it for built-in post types, just because you can use for custom post types it does not change anything on that intention.

For example, if you use it and there are changes in WordPress that make that arguments use strictly available for built-in post types, then you are in trouble.

And, no, its not going to be removed soon - if ever, it likely will die with WordPress.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.