Documentation

Cpt
in package

Table of Contents

Properties

$assets_url  : string
$instance  : mixed
$token  : string
$version  : string

Methods

__construct()  : mixed
Admin constructor.
init()  : mixed
Initialize the custom post type.
instance()  : Db
Ensures only one instance of Class is loaded or can be loaded.

Properties

$assets_url

private string $assets_url

$instance

private static mixed $instance = null

$token

private string $token

$version

private string $version

Methods

__construct()

Admin constructor.

public __construct() : mixed
Tags
since
1.0.0

init()

Initialize the custom post type.

public init() : mixed

Sets up the necessary WordPress hooks and actions for the custom post type.

Tags
since
1.0.0

instance()

Ensures only one instance of Class is loaded or can be loaded.

public static instance() : Db
Tags
since
1.0.0
static
Return values
Db

Class instance


        
On this page

Search results