| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @version 1.1 |
| 4 | 4 | * @package Booking Calendar |
| @@ -411,10 +411,10 @@ | ||
| 411 | 411 | /* translators: 1: ... */ |
| 412 | 412 | $fields[] = sprintf(__( 'Example #2: "%s" - English and French translation of some message' ,'booking'),'<code>Thank you for your booking.[lang=fr_FR]Je vous remercie de votre reservation.</code>'); |
| 413 | 413 | |
| 414 | 414 | |
| 415 | - return $fields; | |
| 416 | -} | |
| 415 | + return (array) apply_filters( 'wpbc_email_help_shortcodes', $fields, $skip_shortcodes, $email_example ); | |
| 416 | +} | |
| 417 | 417 | |
| 418 | 418 | |
| 419 | 419 | function wpbc_email_troubleshooting_help_notice(){ |
| 420 | 420 | |
| @@ -602,5 +602,5 @@ | ||
| 602 | 602 | // Error that have no description. Its can be Empty Object like this: WP_Error Object( 'errors' => array(), 'error_data' => array() ), or NOT |
| 603 | 603 | // debuge( $wp_error_object ); |
| 604 | 604 | } |
| 605 | 605 | } |
| 606 | -add_action('wpbc_email_sending_error', 'wpbc_email_sending_error', 10, 2); | |
| 606 | +add_action('wpbc_email_sending_error', 'wpbc_email_sending_error', 10, 2); | |