| @@ -2,8 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * In-plugin summary emails controller |
| 4 | 4 | * |
| 5 | 5 | * @since 6.7 |
| 6 | + * | |
| 6 | 7 | * @package Formidable |
| 7 | 8 | */ |
| 8 | 9 | |
| 9 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -16,11 +17,14 @@ | ||
| 16 | 17 | class FrmEmailSummaryController { |
| 17 | 18 | |
| 18 | 19 | /** |
| 19 | 20 | * Maybe send summary emails. |
| 21 | + * | |
| 22 | + * @return void | |
| 20 | 23 | */ |
| 21 | 24 | public static function maybe_send_emails() { |
| 22 | 25 | $emails = FrmEmailSummaryHelper::should_send_emails(); |
| 26 | + | |
| 23 | 27 | if ( ! $emails ) { |
| 24 | 28 | return; |
| 25 | 29 | } |
| 26 | 30 | |