Post_Type implements Registerable, Service

Register the Document Library post type

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Service

Table of Contents

POST_TYPE_SLUG  = 'dlp_document'
$default_fields  : mixed
$document_slug  : mixed
__construct()  : mixed
Constructor.
flush_rewrite_rules()  : mixed
Flushes rewrite rules once after activation and CPT registration.
register()  : mixed
{@inheritdoc}
register_post_type()  : mixed
Register the Document post type.

Constants

POST_TYPE_SLUG

public mixed POST_TYPE_SLUG = 'dlp_document'
Tags

Properties

$default_fields

private mixed $default_fields
Tags

$document_slug

private mixed $document_slug
Tags

Methods

__construct()

Constructor.

public __construct() : mixed
Tags
Return values
mixed

flush_rewrite_rules()

Flushes rewrite rules once after activation and CPT registration.

public flush_rewrite_rules() : mixed
Tags
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

register_post_type()

Register the Document post type.

public register_post_type() : mixed
Tags
Return values
mixed

Search results