@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 33 | 33 | * @param $extensions |
| 34 | 34 | * |
| 35 | - * @return array |
|
| 35 | + * @return string[] |
|
| 36 | 36 | */ |
| 37 | 37 | function register_myself( $extensions ) { |
| 38 | 38 | $extensions[] = __FILE__; |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | * Build up the arguments needed for rendering this gallery template |
| 208 | 208 | * |
| 209 | 209 | * @param $args |
| 210 | - * @return array |
|
| 210 | + * @return boolean |
|
| 211 | 211 | */ |
| 212 | 212 | function build_gallery_template_arguments( $args ) { |
| 213 | 213 | $args = foogallery_gallery_template_setting( 'thumbnail_dimensions', array() ); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 52 | 52 | * @param $extensions |
| 53 | 53 | * |
| 54 | - * @return array |
|
| 54 | + * @return string[] |
|
| 55 | 55 | */ |
| 56 | 56 | function register_myself( $extensions ) { |
| 57 | 57 | $extensions[] = __FILE__; |
@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | * Build up the arguments needed for rendering this gallery template |
| 284 | 284 | * |
| 285 | 285 | * @param $args |
| 286 | - * @return array |
|
| 286 | + * @return boolean |
|
| 287 | 287 | */ |
| 288 | 288 | function build_gallery_template_arguments( $args ) { |
| 289 | 289 | $args = foogallery_gallery_template_setting( 'thumbnail_size', 'thumbnail' ); |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 41 | 41 | * @param $extensions |
| 42 | 42 | * |
| 43 | - * @return array |
|
| 43 | + * @return string[] |
|
| 44 | 44 | */ |
| 45 | 45 | function register_myself( $extensions ) { |
| 46 | 46 | $extensions[] = __FILE__; |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | * Build up the arguments needed for rendering this gallery template |
| 294 | 294 | * |
| 295 | 295 | * @param $args |
| 296 | - * @return array |
|
| 296 | + * @return boolean |
|
| 297 | 297 | */ |
| 298 | 298 | function build_gallery_template_arguments( $args ) { |
| 299 | 299 | $args = foogallery_gallery_template_setting( 'thumbnail_dimensions', array() ); |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 66 | 66 | * @param $extensions |
| 67 | 67 | * |
| 68 | - * @return array |
|
| 68 | + * @return string[] |
|
| 69 | 69 | */ |
| 70 | 70 | function register_myself( $extensions ) {
|
| 71 | 71 | $extensions[] = __FILE__; |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | * Build up the arguments needed for rendering this gallery template |
| 377 | 377 | * |
| 378 | 378 | * @param $args |
| 379 | - * @return array |
|
| 379 | + * @return boolean |
|
| 380 | 380 | */ |
| 381 | 381 | function build_gallery_template_arguments( $args ) {
|
| 382 | 382 | $args = foogallery_gallery_template_setting( 'thumbnail_size', array() ); |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 41 | 41 | * @param $extensions |
| 42 | 42 | * |
| 43 | - * @return array |
|
| 43 | + * @return string[] |
|
| 44 | 44 | */ |
| 45 | 45 | function register_myself( $extensions ) { |
| 46 | 46 | $extensions[] = __FILE__; |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | * Build up the arguments needed for rendering this gallery template |
| 294 | 294 | * |
| 295 | 295 | * @param $args |
| 296 | - * @return array |
|
| 296 | + * @return boolean |
|
| 297 | 297 | */ |
| 298 | 298 | function build_gallery_template_arguments( $args ) { |
| 299 | 299 | $args = foogallery_gallery_template_setting( 'thumbnail_dimensions', array() ); |
@@ -200,6 +200,10 @@ discard block |
||
| 200 | 200 | die(); |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | + /** |
|
| 204 | + * @param string $shortcode |
|
| 205 | + * @param string $id_attrib |
|
| 206 | + */ |
|
| 203 | 207 | function echo_findings_for_shortcode( $shortcode, $id_attrib ) { |
| 204 | 208 | echo '<h3>[' . $shortcode . '] Shortcodes</h3>'; |
| 205 | 209 | |
@@ -232,6 +236,10 @@ discard block |
||
| 232 | 236 | } |
| 233 | 237 | } |
| 234 | 238 | |
| 239 | + /** |
|
| 240 | + * @param string $shortcode |
|
| 241 | + * @param string $id_attrib |
|
| 242 | + */ |
|
| 235 | 243 | function echo_replacements_for_shortcode( $shortcode, $id_attrib ) { |
| 236 | 244 | echo '<h3>[' . $shortcode . '] Shortcodes</h3>'; |
| 237 | 245 | |