Users
in package
Site users functionality.
- Applies to any person with login credentials.
- Handles recent posts update email.
Tags
Table of Contents
Properties
- $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.
- subscriber_email_update() : void
- Mail notification of new posts to all users.
- __construct() : void
- Initialise the class and set its properties.
Properties
$instances
The array of instances of this class and sub-classes.
protected
static array<string|int, object>
$instances
= array()
Tags
Methods
get_instance()
Creates and/or returns the instance of this class.
public
static get_instance() : object
Tags
Return values
object —The instance of this class.
subscriber_email_update()
Mail notification of new posts to all users.
public
subscriber_email_update() : void
- Run as a cron task.
- Send email if new content since last successfully run.
- Maintain date of last run in wp_options.
- Send confirmation email to administrator on success.
Tags
__construct()
Initialise the class and set its properties.
protected
__construct() : void