| @@ -162,9 +162,11 @@ | ||
| 162 | 162 | |
| 163 | 163 | /** |
| 164 | 164 | * @since 6.0 |
| 165 | 165 | * |
| 166 | - * @param array $style API style data { | |
| 166 | + * @param array $style { | |
| 167 | + * API style data. | |
| 168 | + * | |
| 167 | 169 | * @type array $settings |
| 168 | 170 | * @type string $name |
| 169 | 171 | * @type string $slug |
| 170 | 172 | * } |
| @@ -226,9 +228,9 @@ | ||
| 226 | 228 | $param_filter = function( $params ) use ( $style ) { |
| 227 | 229 | $params['data-template-key'] = $style['slug']; |
| 228 | 230 | return $params; |
| 229 | 231 | }; |
| 230 | - } | |
| 232 | + }//end if | |
| 231 | 233 | |
| 232 | 234 | $this->is_new_template = ! empty( $style['is_new'] ); |
| 233 | 235 | |
| 234 | 236 | add_filter( 'frm_style_card_params', $param_filter, 10, $this->locked ? 2 : 1 ); |