rockschtar/wordpress-custompoststatus

Library that implements custom post statuses

Installs: 1 584

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:wordpress-muplugin

1.1.2 2018-09-06 13:47 UTC

This package is auto-updated.

Last update: 2024-12-07 03:58:48 UTC


README

Library that implements custom post status in WordPress.

Prerequisites

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)
);