Register Custom Post Types and Taxonomies in WordPress

WordPress documentation Here’s an example of how I created the CPT and custom taxonomy for the post you are reading now. While I can’t bring myself to use the old school array() syntax that the documentation advises, I don’t deviate very far from the recommended syntax.

Predicate

Java predicates are a functional interface and can be used as the assignment target for a lambda expression or method reference.