@@ -923,6 +923,7 @@ |
||
| 923 | 923 | * Takes a color code and returns an adjusted value |
| 924 | 924 | * @since 1.0.0 |
| 925 | 925 | * Steps should be between -255 and 255. Negative = darker, positive = lighter |
| 926 | + * @param integer $steps |
|
| 926 | 927 | * @return string |
| 927 | 928 | */ |
| 928 | 929 | function lasso_editor_adjustBrightness($hex, $steps) { |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | * |
| 81 | 81 | * @since 0.0.1 |
| 82 | 82 | * |
| 83 | - * @return Plugin slug variable. |
|
| 83 | + * @return string slug variable. |
|
| 84 | 84 | */ |
| 85 | 85 | public function get_plugin_slug() { |
| 86 | 86 | return $this->plugin_slug; |
@@ -338,6 +338,9 @@ discard block |
||
| 338 | 338 | exit; |
| 339 | 339 | } |
| 340 | 340 | |
| 341 | + /** |
|
| 342 | + * @param string $type |
|
| 343 | + */ |
|
| 341 | 344 | public static function enable_metasave($type) |
| 342 | 345 | { |
| 343 | 346 | register_rest_field( $type, 'metadata', array( |
@@ -526,6 +529,9 @@ discard block |
||
| 526 | 529 | return self::$revisions; |
| 527 | 530 | }*/ |
| 528 | 531 | |
| 532 | + /** |
|
| 533 | + * @param string $taxonomy |
|
| 534 | + */ |
|
| 529 | 535 | public function set_post_terms( $postid, $value, $taxonomy ) { |
| 530 | 536 | if( $value ) { |
| 531 | 537 | $value = explode( ',', $value ); |