@@ -61,6 +61,10 @@ |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | |
| 64 | +/** |
|
| 65 | + * @param string $option |
|
| 66 | + * @param string $section |
|
| 67 | + */ |
|
| 64 | 68 | function lasso_editor_get_option( $option, $section, $default = '' ) { |
| 65 | 69 | |
| 66 | 70 | if ( empty( $option ) ) |
@@ -13,6 +13,11 @@ discard block |
||
| 13 | 13 | * @since 1.0 |
| 14 | 14 | */ |
| 15 | 15 | if( !function_exists('lasso_editor_get_option')): |
| 16 | + |
|
| 17 | + /** |
|
| 18 | + * @param string $option |
|
| 19 | + * @param string $section |
|
| 20 | + */ |
|
| 16 | 21 | function lasso_editor_get_option( $option, $section, $default = '' ) { |
| 17 | 22 | |
| 18 | 23 | if ( empty( $option ) ) |
@@ -216,7 +221,7 @@ discard block |
||
| 216 | 221 | * Return an array of categories for autocomplete |
| 217 | 222 | * |
| 218 | 223 | * @since 0.9.3 |
| 219 | - * @return array all categoiries |
|
| 224 | + * @return null|string all categoiries |
|
| 220 | 225 | */ |
| 221 | 226 | function lasso_get_objects( $taxonomy = 'category' ) { |
| 222 | 227 | |
@@ -309,7 +314,7 @@ discard block |
||
| 309 | 314 | * Used internally as a callback to build a tab or content area for modal addons |
| 310 | 315 | * |
| 311 | 316 | * @param $tab object |
| 312 | -* @param $type string tab or content |
|
| 317 | +* @param string $type string tab or content |
|
| 313 | 318 | * @uses lasso_modal_addons() |
| 314 | 319 | * @since 0.9.4 |
| 315 | 320 | */ |