PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.4
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.4
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmNotification.php +18 -8 6.35.4 View file →
@@ -13,10 +13,8 @@
13 13 *
14 14 * @param object $action
15 15 * @param object $entry
16 16 * @param object $form
17 - *
18 - * @return void
19 17 */
20 18 public static function trigger_email( $action, $entry, $form ) {
21 19 $email = new FrmEmail( $action, $entry, $form );
22 20
@@ -34,10 +32,8 @@
34 32 /**
35 33 * Remove the trigger_email function from the frm_trigger_email_action hook
36 34 *
37 35 * @since 2.03.04
38 - *
39 - * @return void
40 36 */
41 37 public static function stop_emails() {
42 38 remove_action( 'frm_trigger_email_action', 'FrmNotification::trigger_email', 10 );
43 39 }
@@ -45,10 +41,8 @@
45 41 /**
46 42 * Hook the trigger_email function to frm_trigger_email_action action
47 43 *
48 44 * @since 2.03.04
49 - *
50 - * @return void
51 45 */
52 46 public static function hook_emails_to_action() {
53 47 add_action( 'frm_trigger_email_action', 'FrmNotification::trigger_email', 10, 3 );
54 48 }
@@ -58,10 +52,8 @@
58 52 *
59 53 * @since 2.03.04
60 54 *
61 55 * @param array $atts
62 - *
63 - * @return void
64 56 */
65 57 private static function print_recipients( $atts ) {
66 58 if ( apply_filters( 'frm_echo_emails', false ) ) {
67 59
@@ -70,6 +62,24 @@
70 62
71 63 $temp = str_replace( '<', '&lt;', $sent_to );
72 64 echo ' ' . FrmAppHelper::kses( implode( ', ', (array) $temp ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
73 65 }
66 + }
67 +
68 + /**
69 + * @deprecated 2.03.04
70 + * @codeCoverageIgnore
71 + */
72 + public static function remove_mandrill_br() {
73 + _deprecated_function( __FUNCTION__, '2.03.04', 'FrmEmailHelper::remove_mandrill_br' );
74 +
75 + return FrmEmailHelper::remove_mandrill_br();
76 + }
77 +
78 + /**
79 + * @deprecated 2.03.04
80 + * @codeCoverageIgnore
81 + */
82 + public static function send_email() {
83 + _deprecated_function( __FUNCTION__, '2.03.04', 'FrmEmail::send' );
74 84 }
75 85 }