← All changes
|
includes/dynamic-keywords/contact-segmentation/utm-source.php
+3
-2
1.1.4
→
2.7.0
View file →
| @@ -40,17 +40,18 @@ | ||
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * Render content. |
| 43 | 43 | * |
| 44 | + * @param array $atts array of shortcode arguments. | |
| 44 | 45 | * @return string |
| 45 | 46 | */ |
| 46 | - public function render_content() { | |
| 47 | + public function render_content( $atts ) { | |
| 47 | 48 | if ( empty( self::$contact_segmentation ) ) { |
| 48 | 49 | $this->get_data(); |
| 49 | 50 | } |
| 50 | 51 | |
| 51 | 52 | if ( ! isset( self::$contact_segmentation['utm_source'] ) ) { |
| 52 | - return; | |
| 53 | + return $this->shortcode_content( $atts ); | |
| 53 | 54 | } |
| 54 | 55 | |
| 55 | 56 | return self::$contact_segmentation['utm_source']; |
| 56 | 57 | } |