PHP Class Jetpack_Top_Posts_Widget, jetpack

Inheritance: extends WP_Widget
Mostra file Open project: automattic/jetpack Class Usage Examples

Public Properties

Property Type Description
$alt_option_name
$default_title

Public Methods

Method Description
__construct ( )
defaults ( )
enqueue_style ( )
form ( $instance )
get_by_likes ( $count ) * Get most liked posts
get_by_views ( $count, $args )
get_fallback_posts ( )
get_posts ( $post_ids, $count )
stats_explanation ( ) Explains how the statics are calculated.
update ( $new_instance, $old_instance )
widget ( $args, $instance )

Method Details

__construct() public method

public __construct ( )

defaults() public static method

public static defaults ( )

enqueue_style() public method

public enqueue_style ( )

form() public method

public form ( $instance )

get_by_likes() public method

ONLY TO BE USED IN WPCOM
public get_by_likes ( $count )

get_by_views() public method

public get_by_views ( $count, $args )

get_fallback_posts() public method

public get_fallback_posts ( )

get_posts() public method

public get_posts ( $post_ids, $count )

stats_explanation() public method

Explains how the statics are calculated.
public stats_explanation ( )

update() public method

public update ( $new_instance, $old_instance )

widget() public method

public widget ( $args, $instance )

Property Details

$alt_option_name public_oe property

public $alt_option_name

$default_title public_oe property

public $default_title