Description

Determines if the Disable Email Summaries checkbox setting should be hidden.

Parameters

$settings
(bool) (Required) Determines if Disable Email Summaries checkbox will be hidden from the Settings, default is false (to display).

Source

wpforms/src/Emails/Summaries.php

More Information

The wpforms_emails_summaries_is_disabled filter can be used to hide the Disable Email Summaries checkbox from the WPForms Settings page. If this setting is disabled so it can not be selected, no email summaries will be sent by default.

Example

/**
 * Determines if setting to disable weekly email summaries is hidden.
 *
 * @link   https://wpforms.com/developers/wpforms_emails_summaries_is_disabled/
 *
 * @param  bool $settings  Default is false.
 *
 * @return bool
 */

add_filter( 'wpforms_emails_summaries_is_disabled', '__return_true' );

Snippet Reference: How to Disable the Checkbox Setting for the Weekly Email Summary