Properties

$default_sharing_label

$default_sharing_label

$global

$global

Methods

__construct()

__construct()

get_all_services_blog()

get_all_services_blog()

Gets a generic list of all services, without any config

new_service()

new_service( $label,  $url,  $icon)

Parameters

$label
$url
$icon

delete_service()

delete_service( $service_id)

Parameters

$service_id

set_blog_services()

set_blog_services(array $visible, array $hidden)

Parameters

array $visible
array $hidden

get_blog_services()

get_blog_services()

get_service()

get_service( $service_name)

Parameters

$service_name

set_global_options()

set_global_options( $data)

Parameters

$data

get_global_options()

get_global_options()

set_service()

set_service( $id, \Sharing_Source $service)

Parameters

$id
\Sharing_Source $service

get_total()

get_total( $service_name,  $post_id,  $_blog_id)

Parameters

$service_name
$post_id
$_blog_id

get_services_total()

get_services_total( $post_id)

Parameters

$post_id

get_posts_total()

get_posts_total()

get_all_services()

get_all_services()

Gets a list of all available service names and classes