PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/footcrew.com/ads/wp-content/themes/classipress/includes/recaptcha/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/footcrew.com/ads/wp-content/themes/classipress/includes/recaptcha/load.php

<?php
/**
 * Google reCaptcha Load.
 *
 * @package Components\ReCaptcha
 */

add_action( 'after_setup_theme', '_appthemes_load_recaptcha', 999 );


/**
 * Adds support for Google reCaptcha.
 *
 * @return void
 */
 function _appthemes_load_recaptcha() {

	if ( ! current_theme_supports( 'app-recaptcha' ) ) {
		return;
	}

	// Skip if theme still uses old reCaptcha library.
	// @TODO: remove after themes migrate to ReCaptcha 2.0.
	if ( ! empty( $options['file'] ) && file_exists( $options['file'] ) ) {
		return;
	}

	list( $args ) = get_theme_support( 'app-recaptcha' );

	$site_key    = $args['public_key'];
	$private_key = $args['private_key'];

	unset( $args['private_key'] );
	unset( $args['public_key'] );

	require_once( dirname( __FILE__ ) . '/class-recaptcha.php' );
	require_once( dirname( __FILE__ ) . '/functions.php' );

	// Init new ReCaptcha.
	APP_Recaptcha::init( $site_key, $private_key, $args );
}