@@ -417,7 +417,7 @@ discard block |
||
| 417 | 417 | * @global object $post The current post object. |
| 418 | 418 | * @global object $geodirectory Not yet implemented. |
| 419 | 419 | * @param string $slug The template slug. |
| 420 | - * @param null $name The template name. |
|
| 420 | + * @param string $name The template name. |
|
| 421 | 421 | */ |
| 422 | 422 | function geodir_get_template_part($slug = '', $name = NULL) |
| 423 | 423 | {
|
@@ -673,6 +673,9 @@ discard block |
||
| 673 | 673 | } |
| 674 | 674 | } |
| 675 | 675 | |
| 676 | +/** |
|
| 677 | + * @param string $shortcode |
|
| 678 | + */ |
|
| 676 | 679 | function geodir_parse_shortcodes( $content, $shortcode, $first = true ) {
|
| 677 | 680 | if ( empty( $content ) || empty( $shortcode ) ) {
|
| 678 | 681 | return array(); |