rockschtar / wordpress-custompoststatus
Library that implements custom post statuses
1.1.2
2018-09-06 13:47 UTC
Requires
- php: >=7.1
Requires (Dev)
- deployer/recipes: ^6.1
- rockschtar/deployer-wordpress-set-version: 1.*
This package is auto-updated.
Last update: 2024-12-07 03:58:48 UTC
README
Library that implements custom post status in WordPress.
Prerequisites
- PHP>=7.1
- roots/bedrock based project
Usage
plugin.php
register_custom_post_status(
'my-custom-post-status',
array('my-custom-post-type'),
array('label' => __('Some label', 'textdomain'),
'public' => false,
'private' => false,
'internal' => false,
'exclude_from_search' => true,
'show_in_admin_all_list' => true,
'show_in_admin_status_list' => true)
);