<?php
/**
 * Globals to be used across the plugin.
 */

define( 'NOMOREBOTS_PLUGINNAME', 'No More Bots by FutrX' );
define( 'NOMOREBOTS_PLUGINVERSION', '1.4.1.2' );
define( 'NOMOREBOTS_PLUGINPREFIX', 'nmb' );
define( 'NOMOREBOTS_PLUGINTEXTDOMAIN', 'no-more-bots' );
define( 'NOMOREBOTS_PLUGINPATH', plugin_dir_path( __FILE__ ) );
define( 'NOMOREBOTS_PLUGINURL', plugin_dir_url( __FILE__ ) );

define(
	'NOMOREBOTS_ACTIVE_MODULES',
	array(
		'NoMoreBots\Modules\Remote\Register',
		'NoMoreBots\Modules\HP\Register',
	)
);

define(
	'NOMOREBOTS_INPUT_TYPES',
	array(
		'text'     => array(
			'type'        => 'text',
			'label'       => 'Text',
			'placeholder' => '',
		),
		'email'    => array(
			'type'        => 'email',
			'label'       => 'Email',
			'placeholder' => '',
		),
		'password' => array(
			'type'        => 'password',
			'label'       => 'Password',
			'placeholder' => '',
		),
		'number'   => array(
			'type'        => 'number',
			'label'       => 'Number',
			'placeholder' => '',
		),
	)
);
define( 'NOMOREBOTS_ERROR_MESSAGE', 'Your IP has been blocked!' );

// Meta keys
define( 'NOMOREBOTS_REMOTE_FIELD_PREFIX', 'nmbremote' );
define( 'NOMOREBOTS_HONEYPOT_FIELD_PREFIX', 'nmbhp' );
define( 'NOMOREBOTS_OTP_FIELD_PREFIX', 'nmbotp' );

define( 'NOMOREBOTS_BLOCKED_IPS_META_KEY', '_blocked_ips' );
define( 'NOMOREBOTS_BLOCKED_DURATION_META_KEY', '_blocked_duration' );
define( 'NOMOREBOTS_PAGES_TO_FILTER_META_KEY', '_pages_to_filter' );
define( 'NOMOREBOTS_WOOCOMMERCE_FORMS_META_KEY', '_woo_forms' );
define( 'NOMOREBOTS_WP_FORMS_META_KEY', '_wp_forms' );
define( 'NOMOREBOTS_OTP_SECRET_KEY_META_KEY', '_secret_key' );
define( 'NOMOREBOTS_OTP_SECRET_KEY_DEFAULT', '34EZDGZ9VGY3TQUJQGEZDYNBVXY3TQO11' );
