@@ -92,6 +92,9 @@ discard block |
||
92 | 92 | exit; |
93 | 93 | } |
94 | 94 | |
95 | + /** |
|
96 | + * @param string $version |
|
97 | + */ |
|
95 | 98 | function asset_version( $version ) { |
96 | 99 | /** |
97 | 100 | * Filter the version string used when enqueuing Carousel assets. |
@@ -542,6 +545,9 @@ discard block |
||
542 | 545 | return ( 1 == $value ) ? 1 : 0; |
543 | 546 | } |
544 | 547 | |
548 | + /** |
|
549 | + * @param string $name |
|
550 | + */ |
|
545 | 551 | function settings_checkbox($name, $label_text, $extra_text = '', $default_to_checked = true) { |
546 | 552 | if ( empty( $name ) ) |
547 | 553 | return; |
@@ -555,6 +561,9 @@ discard block |
||
555 | 561 | echo '</fieldset>'; |
556 | 562 | } |
557 | 563 | |
564 | + /** |
|
565 | + * @param string $name |
|
566 | + */ |
|
558 | 567 | function settings_select($name, $values, $extra_text = '') { |
559 | 568 | if ( empty( $name ) || ! is_array( $values ) || empty( $values ) ) |
560 | 569 | return; |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * |
86 | 86 | * @param string $cron_name |
87 | 87 | * |
88 | - * @return bool |
|
88 | + * @return false|null |
|
89 | 89 | */ |
90 | 90 | public function activate_cron( $cron_name ) { |
91 | 91 |
@@ -67,6 +67,7 @@ |
||
67 | 67 | * |
68 | 68 | * Similar to current_user_can, but internal to VideoPress. Returns |
69 | 69 | * true if the given VideoPress capability is allowed by the given user. |
70 | + * @param string $cap |
|
70 | 71 | */ |
71 | 72 | public function can( $cap, $user_id = false ) { |
72 | 73 | if ( ! $user_id ) { |