Notes
Translations
Since 2.0 the translation()
method has been removed. You can translate any labels and names when you assign them to the PostType or Taxonomy. It was removed to provide more control to the developer while encouraging best practices around internationalizing plugins and themes set out by WordPress.
Custom Fields
The class has no methods for making custom fields for post types, use Advanced Custom Fields.
Examples
The books example used in the README.md can be found in examples/books.php.
Last updated