PHP Class WPCOM_Widget_Facebook_LikeBox, jetpack

Inheritance: extends WP_Widget
显示文件 Open project: automattic/jetpack

Public Methods

Method Description
__construct ( )
enqueue_scripts ( ) Enqueue scripts.
form ( $instance )
get_default_args ( )
get_locale ( )
guess_locale_from_lang ( $lang )
is_valid_facebook_url ( $url )
normalize_facebook_args ( $args )
normalize_int_value ( $value, $default, $max, $min )
normalize_text_value ( $value, $default = '', $allowed = [] )
update ( $new_instance, $old_instance )
widget ( $args, $instance )

Method Details

__construct() public method

public __construct ( )

enqueue_scripts() public method

Enqueue scripts.
public enqueue_scripts ( )

form() public method

public form ( $instance )

get_default_args() public method

public get_default_args ( )

get_locale() public method

Deprecation:
public get_locale ( )

guess_locale_from_lang() public method

Deprecation:
public guess_locale_from_lang ( $lang )

is_valid_facebook_url() public method

public is_valid_facebook_url ( $url )

normalize_facebook_args() public method

public normalize_facebook_args ( $args )

normalize_int_value() public method

public normalize_int_value ( $value, $default, $max, $min )

normalize_text_value() public method

public normalize_text_value ( $value, $default = '', $allowed = [] )

update() public method

public update ( $new_instance, $old_instance )

widget() public method

public widget ( $args, $instance )