Свойство | Type | Description | |
---|---|---|---|
$options | array |
Méthode | Description | |
---|---|---|
__construct ( ) | Sets the options, because they always have to be there on instance. | |
dismiss_notice_listener ( ) | Listener for the upsell notice. | |
initialize ( ) | Checks if the notice should be added or removed. | |
set_upgrade_notice ( ) | Sets the upgrade notice. |
Méthode | Description | |
---|---|---|
add_notification ( ) | Adds a notification to the notification center. | |
dismiss_notice ( ) | Dismisses the notice. | |
get_notification ( ) : Yoast_Notification | Gets the notification value. | |
get_options ( ) : mixed | void | Returns the set options | |
get_premium_upsell_section ( ) : string | Returns a premium upsell section if using the free plugin. | |
has_first_activated_on ( ) | Checks if the options has a first activated on date value. | |
is_notice_dismissed ( ) : string | Dismisses the notice. | |
remove_notification ( ) | Adds a notification to the notification center. | |
save_options ( ) | Saves the options to the database. | |
set_first_activated_on ( ) | Sets the first activated on. | |
should_add_notification ( ) : boolean | When the notice should be shown. |
public __construct ( ) |
protected add_notification ( ) |
public dismiss_notice_listener ( ) |
protected get_notification ( ) : Yoast_Notification | ||
Résultat | Yoast_Notification |
protected get_options ( ) : mixed | void | ||
Résultat | mixed | void |
protected has_first_activated_on ( ) |
protected is_notice_dismissed ( ) : string | ||
Résultat | string |
protected remove_notification ( ) |
protected set_first_activated_on ( ) |
protected should_add_notification ( ) : boolean | ||
Résultat | boolean |