PHP Class Jetpack_Top_Posts_Widget, jetpack

Inheritance: extends WP_Widget
Afficher le fichier Open project: automattic/jetpack Class Usage Examples

Méthodes publiques

Свойство Type Description
$alt_option_name
$default_title

Méthodes publiques

Méthode 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 méthode

public __construct ( )

defaults() public static méthode

public static defaults ( )

enqueue_style() public méthode

public enqueue_style ( )

form() public méthode

public form ( $instance )

get_by_likes() public méthode

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

get_by_views() public méthode

public get_by_views ( $count, $args )

get_fallback_posts() public méthode

public get_fallback_posts ( )

get_posts() public méthode

public get_posts ( $post_ids, $count )

stats_explanation() public méthode

Explains how the statics are calculated.
public stats_explanation ( )

update() public méthode

public update ( $new_instance, $old_instance )

widget() public méthode

public widget ( $args, $instance )

Property Details

$alt_option_name public_oe property

public $alt_option_name

$default_title public_oe property

public $default_title