Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post type registration adjustements #64

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

maikelRAOW
Copy link
Contributor

  • Make Post Type return an empty string rather than false. (Wordpress' documentation indicates this must always be a string)
  • Add possibility to register a default post type.
  • Add possibility to to register a Post Type with just a model, provided it has a POST_TYPE constant defined.

@maikelRAOW maikelRAOW changed the title Feature/get post type model returns empty string instead of false Post type registration adjustements Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant