Download the PHP package horttcore/wp-custom-post-type without Composer
On this page you can find all versions of the php package horttcore/wp-custom-post-type. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download horttcore/wp-custom-post-type
More information about horttcore/wp-custom-post-type
Files in horttcore/wp-custom-post-type
Download horttcore/wp-custom-post-type
More information about horttcore/wp-custom-post-type
Files in horttcore/wp-custom-post-type
Vendor horttcore
Package wp-custom-post-type
Short Description A custom post type helper
License MIT
Package wp-custom-post-type
Short Description A custom post type helper
License MIT
Please rate this library. Is it a good library?
Informations about the package wp-custom-post-type
Custom Post Type Helper Class
Installation
composer require ralfhortt/wp-custom-post-type
Usage
Extend the abstract class RalfHortt\CustomPostType\PostType
and overwrite following methods:
getConfig()
getLabels()
getPostUpdateMessage( \WP_Post $post, string $postType, \WP_Post_Type $postTypeObjects )
The extending class MUST define protected class variable slug
Example
Changelog
v2.0.0
- Update namespace
v1.0.2
- Documentation and enforcing return types
v1.0.1
- Fix typos
v1.0.0
- Initial release
All versions of wp-custom-post-type with dependencies
PHP Build Version
Package Version
No informations.
The package horttcore/wp-custom-post-type contains the following files
Loading the files please wait ....