@@ -219,6 +219,7 @@ discard block |
||
| 219 | 219 | |
| 220 | 220 | /** |
| 221 | 221 | * @since 3.0 |
| 222 | + * @return string |
|
| 222 | 223 | */ |
| 223 | 224 | public static function get_field_link_icon( $field_type ) { |
| 224 | 225 | if ( is_array( $field_type ) && isset( $field_type['icon'] ) ) { |
@@ -698,6 +699,9 @@ discard block |
||
| 698 | 699 | $reset_fields = true; |
| 699 | 700 | } |
| 700 | 701 | |
| 702 | + /** |
|
| 703 | + * @return string |
|
| 704 | + */ |
|
| 701 | 705 | public static function replace_shortcodes( $html, $form, $title = false, $description = false, $values = array() ) { |
| 702 | 706 | $codes = array( |
| 703 | 707 | 'form_name' => $title, |
@@ -858,7 +862,7 @@ discard block |
||
| 858 | 862 | } |
| 859 | 863 | |
| 860 | 864 | /** |
| 861 | - * @param object|string|boolean $form |
|
| 865 | + * @param string|boolean $form |
|
| 862 | 866 | * |
| 863 | 867 | * @return string |
| 864 | 868 | */ |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | foreach ( $pro_fields as $field_key => $field_type ) { |
| 50 | 50 | |
| 51 | 51 | if ( isset( $field_type['section'] ) && 'pricing' === $field_type['section'] ) { |
| 52 | - $pricing_fields[ $field_key ] = $field_type; |
|
| 52 | + $pricing_fields[$field_key] = $field_type; |
|
| 53 | 53 | continue; |
| 54 | 54 | } |
| 55 | 55 | |