/**
Theme Name: Astra Child
Author: CME-Verlag
Author URI: https://nephro-lounge.de
Description: Astra-Child https://nephro-lounge.de
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

add_filter( 'gform_field_value_refurl', 'populate_referral_url');
 
function populate_referral_url( $form ){
    // Grab URL from HTTP Server Var and put it into a variable
    $refurl = $_SERVER['HTTP_REFERER'];
    GFCommon::log_debug( __METHOD__ . "(): HTTP_REFERER value returned by the server: {$refurl}" );
 
    // Return that value to the form
    return esc_url_raw($refurl);
}

.displaynone {display: none!important;}

.wp-block-uagb-container.uagb-block-ef628a47, .wp-block-uagb-container.uagb-block-a5ebf42a {
    text-decoration: none!important;
}