@@ -415,7 +415,7 @@ |
||
| 415 | 415 | * |
| 416 | 416 | * @param array $connections_data |
| 417 | 417 | * |
| 418 | - * @return array { |
|
| 418 | + * @return string { |
|
| 419 | 419 | * Array of content for generating connection form. |
| 420 | 420 | * |
| 421 | 421 | * @type string HTML content of form |
@@ -220,6 +220,9 @@ discard block |
||
| 220 | 220 | <?php |
| 221 | 221 | } |
| 222 | 222 | |
| 223 | + /** |
|
| 224 | + * @param string $option |
|
| 225 | + */ |
|
| 223 | 226 | function admin_likes_get_option( $option ) { |
| 224 | 227 | if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { |
| 225 | 228 | $option_setting = get_blog_option( get_current_blog_id(), $option, 'on' ); |
@@ -437,6 +440,9 @@ discard block |
||
| 437 | 440 | return $columns; |
| 438 | 441 | } |
| 439 | 442 | |
| 443 | + /** |
|
| 444 | + * @param string $content |
|
| 445 | + */ |
|
| 440 | 446 | function post_likes( $content ) { |
| 441 | 447 | $post_id = get_the_ID(); |
| 442 | 448 | |