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
init()
Initialize the custom post type.
public
init() : mixed
Sets up the necessary WordPress hooks and actions for the custom post type.
Tags
instance()
Ensures only one instance of Class is loaded or can be loaded.
public
static instance() : Db
Tags
Return values
Db —Class instance