Registry / web-framework / johnbillion-extended-cpts

johnbillion-extended-cpts

JSON →
library5.1.0phppackagistunverified

A library which provides extended functionality to WordPress custom post types and taxonomies.

composer require johnbillion/extended-cpts
INSTALL
IMPORT
SIG · JOHNBILLION-EXTEND
J
johnbillion-extended-cpts
web-frameworkphpv5.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PostType
use Extended\CPTs\PostType;

Register a custom post type 'book' with extended features.

use Extended\CPTs\PostType; $books = new PostType('book'); $books->setArgs([ 'public' => true, 'has_archive' => true, ]);
Debug
Known issues
breakingRequires WordPress 4.9+ and PHP 7.0+.
fix
Update WordPress and PHP to meet requirements.
affects: <5.0.0
Upgrade
Version history
5.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
johnbillion-extended-cpts — pip install johnbillion-extended-cpts · libregistry