PHP Class WPCOM_JSON_API_Sharing_Button_Endpoint, jetpack

Inheritance: extends WPCOM_JSON_API_Endpoint
Show file Open project: automattic/jetpack

Public Properties

Property Type Description
$all_visibilities

Protected Properties

Property Type Description
$sharing_service

Public Methods

Method Description
create_custom_button ( $button )
format_sharing_button ( $button )
get_button_visibility ( $button )
is_button_enabled ( $button )
update_button ( $button_id, $button )

Protected Methods

Method Description
is_button_input_for_custom ( $button )
setup ( )
validate_button_input ( $button, $is_new = false )

Method Details

create_custom_button() public method

public create_custom_button ( $button )

format_sharing_button() public method

public format_sharing_button ( $button )

get_button_visibility() public method

public get_button_visibility ( $button )

is_button_enabled() public method

public is_button_enabled ( $button )

is_button_input_for_custom() protected method

protected is_button_input_for_custom ( $button )

setup() protected method

protected setup ( )

update_button() public method

public update_button ( $button_id, $button )

validate_button_input() protected method

protected validate_button_input ( $button, $is_new = false )

Property Details

$all_visibilities public static property

public static $all_visibilities

$sharing_service protected property

protected $sharing_service