$instance
$instance : \WP_Buoy_Settings
Singleton.
Handles plugin-wide options.
This is distinct from user-specific options.
$instance : \WP_Buoy_Settings
Singleton.
get_instance() : \WP_Buoy_Settings
Gets the instance of this object.
set( $key, $value) : \WP_Buoy_Settings
Sets an option name and value pair.
| $key | ||
| $value |
save() : \WP_Buoy_Settings
Saves current options to the database.
delete( $key) : \WP_Buoy_Settings
Deletes an option.
| $key |
__construct() : \WP_Buoy_Settings
Constructor.
get_alert_ttl_string(integer $num, integer $multiplier, boolean $past = true) : string
Gets an alert time-to-live string.
This is used to create a strtotime()-compatible string from
the plugin's settings.
| integer | $num | |
| integer | $multiplier | |
| boolean | $past |