yoast_notifications_before_storage, $merged_notifications

yoast_notifications_before_storage, $merged_notifications

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('yoast_notifications_before_storage, $merged_notifications') is found 1 times:

  • /admin/class-yoast-notification-center.php line 625
    		 * Filter: 'yoast_notifications_before_storage' - Allows developer to filter notifications before saving them.
    		 *
    		 * @param Yoast_Notification[] $notifications
    		 */
    		$filtered_merged_notifications = apply_filters( 'yoast_notifications_before_storage', $merged_notifications );
    
    		// The notifications were filtered and therefore need to be stored.
    		if ( $merged_notifications !== $filtered_merged_notifications ) {
    			$merged_notifications             = $filtered_merged_notifications;
    			$this->notifications_need_storage = true;
    		}