Contains an instance of class 'publicize' which loads Keyring, sets up services, etc.
Methods
__construct()
__construct()
Hooks into WordPress to display the various pieces of UI and load our assets
sharing_menu()
sharing_menu()
If the ShareDaddy plugin is not active we need to add the sharing settings page to the menu still
management_page()
management_page()
Management page to load if Sharedaddy is not active so the 'pre_admin_screen_sharing' action exists.
load_assets()
load_assets()
styling for the sharing screen and popups
JS for the options and switching
connected_notice()
connected_notice( $service_name)
Parameters
$service_name
denied_notice()
denied_notice()
admin_page()
admin_page()
Lists the current user's publicized accounts for the blog
looks exactly like Publicize v1 for now, UI and functionality updates will come after the move to keyring
global_checkbox()
global_checkbox( $service_name, $id)
Parameters
$service_name
$id
broken_connection()
broken_connection( $service_name, $id)
Parameters
$service_name
$id
options_page_other()
options_page_other( $service_name)
Parameters
$service_name
post_page_metabox_assets()
post_page_metabox_assets()
CSS for styling the publicize message box and counter that displays on the post page.
There is also some Javascript for length counting and some basic display effects.
post_page_metabox()
post_page_metabox()
Controls the metabox that is displayed on the post page
Allows the user to customize the message that will be sent out to the social network, as well as pick which
networks to publish to. Also displays the character counter and some other information.