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

Default show_in_nav_menus to false if not set #197

Closed
1 task
bobbingwide opened this issue Feb 6, 2022 · 1 comment
Closed
1 task

Default show_in_nav_menus to false if not set #197

bobbingwide opened this issue Feb 6, 2022 · 1 comment

Comments

@bobbingwide
Copy link
Owner

When registering CPT's and custom taxonomies using oik APIs it makes sense to set show_in_nav_menus to false if the value if not defined by the caller. This will reduce the number of custom variations for the core/navigation block.

See bobbingwide/oik-types#23 and bobbingwide/oik-blocks#49

Proposed solution

  • Change bw_register_post_type(), bw_register_custom_tags() and bw_register_custom_category()
@bobbingwide
Copy link
Owner Author

Developed in oik v4.6.0, released in oik v4.7.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant