PHP Class Jetpack_JITM, jetpack

Since: 3.7.0
Afficher le fichier Open project: automattic/jetpack Class Usage Examples

Méthodes publiques

Méthode Description
akismet_msg ( ) Display JITM in Comments screen prompting user to enable Akismet.
backups_after_publish_msg ( ) Display JITM after a post is published prompting user to enable Backups.
backups_updates_msg ( ) Display JITM in Updates screen prompting user to enable Backups.
editor_msg ( ) Display message in editor prompting user to compose entry in WordPress.com.
get_emblem ( )
init ( )
is_jitm_dismissed ( ) : boolean Check if a JITM was dismissed or not. Currently, dismissing one JITM will dismiss all of them.
jitm_enqueue_files ( $hook ) * Function to enqueue jitm css and js
manage_msg ( ) * Present Manage just in time activation msg on update-core.php
manage_pi_msg ( ) Display message prompting user to enable auto-updates in WordPress.com.
photon_msg ( ) * Present Photon just in time activation msg
photon_tmpl ( ) Display Photon JITM template in Media Library after user uploads an image.
prepare_jitms ( object $screen ) Prepare actions according to screen and post type.
stats_msg ( ) Display message in editor prompting user to enable stats.

Private Methods

Méthode Description
__construct ( )

Method Details

akismet_msg() public méthode

Display JITM in Comments screen prompting user to enable Akismet.
Since: 3.9.5
public akismet_msg ( )

backups_after_publish_msg() public méthode

Display JITM after a post is published prompting user to enable Backups.
Since: 3.9.5

backups_updates_msg() public méthode

Display JITM in Updates screen prompting user to enable Backups.
Since: 3.9.5
public backups_updates_msg ( )

editor_msg() public méthode

Display message in editor prompting user to compose entry in WordPress.com.
Since: 3.8.2
public editor_msg ( )

get_emblem() public méthode

public get_emblem ( )

init() static public méthode

static public init ( )

is_jitm_dismissed() public méthode

Check if a JITM was dismissed or not. Currently, dismissing one JITM will dismiss all of them.
Since: 3.8.2
public is_jitm_dismissed ( ) : boolean
Résultat boolean

jitm_enqueue_files() public méthode

* Function to enqueue jitm css and js
public jitm_enqueue_files ( $hook )

manage_msg() public méthode

* Present Manage just in time activation msg on update-core.php
public manage_msg ( )

manage_pi_msg() public méthode

Display message prompting user to enable auto-updates in WordPress.com.
Since: 3.8.2
public manage_pi_msg ( )

photon_msg() public méthode

* Present Photon just in time activation msg
public photon_msg ( )

photon_tmpl() public méthode

Display Photon JITM template in Media Library after user uploads an image.
Since: 3.9.0
public photon_tmpl ( )

prepare_jitms() public méthode

Prepare actions according to screen and post type.
Since: 3.8.2
public prepare_jitms ( object $screen )
$screen object

stats_msg() public méthode

Display message in editor prompting user to enable stats.
Since: 3.9.0
public stats_msg ( )