@@ -75,6 +75,9 @@ discard block |
||
75 | 75 | ) ); |
76 | 76 | } |
77 | 77 | |
78 | + /** |
|
79 | + * @param string $service_name |
|
80 | + */ |
|
78 | 81 | function get_connections( $service_name, $_blog_id = false, $_user_id = false ) { |
79 | 82 | $connections = Jetpack_Options::get_option( 'publicize_connections' ); |
80 | 83 | $connections_to_return = array(); |
@@ -100,6 +103,9 @@ discard block |
||
100 | 103 | return $connection; |
101 | 104 | } |
102 | 105 | |
106 | + /** |
|
107 | + * @param string $filter |
|
108 | + */ |
|
103 | 109 | function get_services( $filter ) { |
104 | 110 | if ( !in_array( $filter, array( 'all', 'connected' ) ) ) |
105 | 111 | $filter = 'all'; |