PHP Class Jetpack_Heartbeat, jetpack

Show file Open project: automattic/jetpack Class Usage Examples

Public Methods

Method Description
cron_exec ( ) Method that gets executed on the wp-cron call
deactivate ( )
generate_stats_array ( $prefix = '' )
init ( ) : Jetpack_Heartbeat Singleton
jetpack_xmlrpc_methods ( $methods )

Private Methods

Method Description
__construct ( ) : Jetpack_Heartbeat Constructor for singleton

Method Details

cron_exec() public method

Method that gets executed on the wp-cron call
Since: 2.3.3
public cron_exec ( )

deactivate() public method

public deactivate ( )

generate_stats_array() public static method

public static generate_stats_array ( $prefix = '' )

init() public static method

Singleton
Since: 2.3.3
public static init ( ) : Jetpack_Heartbeat
return Jetpack_Heartbeat

jetpack_xmlrpc_methods() public static method

public static jetpack_xmlrpc_methods ( $methods )