afragen/simple-cpt

Register a simple Custom Post Type and Taxonomies.

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/afragen/simple-cpt

dev-master 2023-01-06 08:23 UTC

This package is auto-updated.

Last update: 2025-10-06 14:03:20 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.