afragen / simple-cpt
Register a simple Custom Post Type and Taxonomies.
dev-master
2023-01-06 08:23 UTC
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2024-12-06 12:18:32 UTC
README
- Contributors: Andy Fragen
- License: MIT
- Requires at least: 5.0
- Requires PHP: 7.0
A simple framework for registering custom post types and their taxonomies.
Description
This framework registers a custom post type and several associated taxonomies.
Inject 2 arrays to Bootstrap
.
$cpt = [ singular, plural, icon ]; $tax = [ [ single-1, plural-1 ], [ single-2, plural-2 ], [ ..., ... ] ];
It is not i18n compliant.