plugin updates

This commit is contained in:
Tony Volpe
2024-11-20 22:40:39 -05:00
parent 0238f0c4ca
commit 3362947c6e
434 changed files with 13405 additions and 9202 deletions

View File

@@ -529,7 +529,7 @@ Class GFNotification {
*
* @deprecated
* @since 1.7
*
* @remove-in 3.0
* @param array $ui_settings An array of settings for the notification UI.
* @param array $notification The current notification object being edited.
* @param array $form The current form object to which the notification being edited belongs.
@@ -537,6 +537,10 @@ Class GFNotification {
*/
$legacy_settings = apply_filters( 'gform_notification_ui_settings', array(), $notification, $form, null );
if ( has_filter( 'gform_notification_ui_settings' ) ) {
trigger_error( 'gform_notification_ui_settings is deprecated and will be removed in version 3.0.', E_USER_DEPRECATED );
}
if ( empty( $legacy_settings ) ) {
return $fields;
}