@@ -375,6 +375,9 @@ |
||
| 375 | 375 | $reset_fields = true; |
| 376 | 376 | } |
| 377 | 377 | |
| 378 | + /** |
|
| 379 | + * @return string |
|
| 380 | + */ |
|
| 378 | 381 | public static function replace_shortcodes( $html, $form, $title = false, $description = false, $values = array() ) { |
| 379 | 382 | foreach ( array( 'form_name' => $title, 'form_description' => $description, 'entry_key' => true ) as $code => $show ) { |
| 380 | 383 | if ( $code == 'form_name' ) { |