HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/www.winghung.com/wp-content/plugins/conversational-forms/classes/email/fallback.php
<?php

/**
 * Functions related to fallback email
 *
 * @package Caldera_Forms Modified by QuantumCloud
 * @author    Josh Pollock <Josh@CalderaWP.com>
 * @license   GPL-2.0+
 * @link
 * @copyright 2017 CalderaWP LLC
 */
class Qcformbuilder_Forms_Email_Fallback{

    /**
     * Get fallback email sender address
     *
     * @since 1.5.8
     *
     * @param array $form
     * @return string
     */
    public static function get_fallback( array  $form ){

        /**
         * Change the fallback email used when no valid email is passed
         *
         * @since 1.5.8
         *
         * @param string $email Fallback email, by default admin email
         * @para array $form Form config for form fallback is being used for
         */
        return apply_filters( 'qcformbuilder_forms_fallback_email', get_option( 'admin_email' ), $form );
    }

}