Lines:
1 to 22 of 22
<?php /* class WPCOM_REST_API_V2_Post_Publicize_Connections_Field */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::register_fields() – Registers the jetpack_publicize_connections field. Called automatically on `rest_api_init()`. */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::get_schema() – Defines data structure and what elements are visible in which contexts */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::post_connection_schema() – */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::permission_check() – */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::get_permission_check() – Getter permission check */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::update_permission_check() – Setter permission check */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::get() – Getter: Retrieve current list of connected social accounts for a given post. */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::rest_pre_insert() – Prior to updating the post, first calculate which Services to Publicize to and which to skip. */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::rest_insert() – After creating a new post, update our cached data to reflect the new post ID. */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::get_meta_to_update() – */ /* function WPCOM_REST_API_V2_Post_Publicize_Connections_Field::update() – Update the connections slated to be shared to. */ if ( Jetpack::is_module_active( 'publicize' ) ) { wpcom_rest_api_v2_load_plugin( 'WPCOM_REST_API_V2_Post_Publicize_Connections_Field' ); }