'; echo FrmAppHelper::kses( $message, 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo ''; } else { echo FrmAppHelper::maybe_kses( $message ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } if ( ! isset( $show_messages ) ) { $show_messages = array(); } $show_messages = apply_filters( 'frm_message_list', $show_messages ); if ( is_array( $show_messages ) && count( $show_messages ) > 0 ) { // Define a callback function to add 'data-action' attribute to allowed HTML tags $add_data_action_callback = function( $allowed_html ) { $allowed_html['span']['data-action'] = true; return $allowed_html; }; ?>