pfeifferNet

Publication
in package

Post and page publication data.

Tags
since
5.0.0
since
5.5.0

Inherit standard singleton class.

since
5.11.0

Deprecated global singleton.

Table of Contents

Constants

HISTORY_CONTAINER  = 'publication-history.php'
Publication history partial.
REVISION_GRACE_PERIOD  = WEEK_IN_SECONDS
The grace period to allow before classifying a revision.

Properties

$history_container  : string
The fully qualified path to the publication history content partial.
$instances  : array<string|int, object>
The array of instances of this class and sub-classes.

Methods

get_instance()  : object
Creates and/or returns the instance of this class.
get_the_data()  : string
Return the rendered published and (maybe) updated dates for the current post.
render()  : void
Render published and updated dates for the current post.
__construct()  : void
Initialise the class and set its properties.

Constants

HISTORY_CONTAINER

Publication history partial.

protected string HISTORY_CONTAINER = 'publication-history.php'
Tags
since
5.6.0

REVISION_GRACE_PERIOD

The grace period to allow before classifying a revision.

protected int REVISION_GRACE_PERIOD = WEEK_IN_SECONDS
Tags
since
5.0.0

Properties

$history_container

The fully qualified path to the publication history content partial.

protected string $history_container = ''
Tags
since
5.6.0

$instances

The array of instances of this class and sub-classes.

protected static array<string|int, object> $instances = array()
Tags
since
5.11.0

Methods

get_instance()

Creates and/or returns the instance of this class.

public static get_instance() : object
Tags
since
5.11.0
Return values
object

The instance of this class.

get_the_data()

Return the rendered published and (maybe) updated dates for the current post.

public get_the_data() : string
Tags
since
1.4.0
Return values
string

The publication data.

__construct()

Initialise the class and set its properties.

protected __construct() : void
Tags
since
1.0.0

        
On this page

Search results