@@ -5,6 +5,7 @@ |
||
5 | 5 | * Layout hooks |
6 | 6 | * |
7 | 7 | * @package lsx |
8 | + * @param string $class |
|
8 | 9 | */ |
9 | 10 | |
10 | 11 | function lsx_layout_selector( $class, $area = 'site' ) { |
@@ -140,6 +140,9 @@ |
||
140 | 140 | return self::$noscripts[(int) $match[1]]; |
141 | 141 | } |
142 | 142 | |
143 | + /** |
|
144 | + * @param string $new_class |
|
145 | + */ |
|
143 | 146 | static function add_class( $html_string = '', $new_class ) { |
144 | 147 | $pattern = '/class=[\'"]([^\'"]*)[\'"]/'; |
145 | 148 |
@@ -97,7 +97,7 @@ |
||
97 | 97 | * @subpackage sanitize |
98 | 98 | * |
99 | 99 | * @param array $input |
100 | - * @return array $output |
|
100 | + * @return string|false $output |
|
101 | 101 | */ |
102 | 102 | function lsx_sanitize_checkbox( $input ) { |
103 | 103 | if ( $input ) { |
@@ -7,7 +7,6 @@ discard block |
||
7 | 7 | * @author Novrian <[email protected]> |
8 | 8 | * @copyright (c) 2013. Novrian Y.F. |
9 | 9 | * @license MIT License |
10 | - * @param string $sep Your custom separator |
|
11 | 10 | */ |
12 | 11 | function lsx_breadcrumbs() { |
13 | 12 | if (!function_exists('yoast_breadcrumb') && !function_exists('woocommerce_breadcrumb')) { |
@@ -262,7 +261,7 @@ discard block |
||
262 | 261 | /** |
263 | 262 | * Display navigation to next/previous set of posts when applicable. |
264 | 263 | * |
265 | - * @return void |
|
264 | + * @return null|boolean |
|
266 | 265 | */ |
267 | 266 | function lsx_paging_nav() { |
268 | 267 | // Don't print empty markup if there's only one page. |
@@ -30,7 +30,6 @@ |
||
30 | 30 | * @param string $output Passed by reference. Used to append additional content. |
31 | 31 | * @param object $item Menu item data object. |
32 | 32 | * @param int $depth Depth of menu item. Used for padding. |
33 | - * @param int $current_page Menu item ID. |
|
34 | 33 | * @param object $args |
35 | 34 | */ |
36 | 35 | public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { |
@@ -197,6 +197,7 @@ discard block |
||
197 | 197 | * @package lsx |
198 | 198 | * @subpackage extras |
199 | 199 | * @category thumbnails |
200 | + * @param string $size |
|
200 | 201 | */ |
201 | 202 | function lsx_get_thumbnail($size,$image_src = false){ |
202 | 203 | |
@@ -251,6 +252,7 @@ discard block |
||
251 | 252 | * @package lsx |
252 | 253 | * @subpackage extras |
253 | 254 | * @category thumbnails |
255 | + * @param boolean $image_src |
|
254 | 256 | */ |
255 | 257 | function lsx_get_attachment_id_from_src( $image_src ) { |
256 | 258 | $post_id = wp_cache_get( $image_src, 'lsx_get_attachment_id_from_src' ); |