Skip to content

Instantly share code, notes, and snippets.

@tokkonopapa
tokkonopapa / wph.class.php
Last active February 12, 2019 21:13
WP Hide & Security Enhancer 1.4.9.1
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
class WPH
{
var $default_variables = array();
var $templates_data = array();
var $urls_replacement = array();
@tokkonopapa
tokkonopapa / drop-in-admin.php
Last active October 26, 2018 14:26
Drop-in for IP Geo Block custom filters for admin
<?php
/**
* Drop-in for IP Geo Block custom filters for admin
*
* This file should be named as `drop-in-admin.php`.
*
* @package IP_Geo_Block
* @author tokkonopapa <[email protected]>
* @license GPL-3.0
* @link http://www.ipgeoblock.com/
@tokkonopapa
tokkonopapa / drop-in.php
Created September 29, 2018 16:52
Block specific countries on public facing pages.
<?php
/**
* Drop-in for IP Geo Block custom filters
*
* This file should be renamed to `drop-in.php`.
*
* @package IP_Geo_Block
* @author tokkonopapa <[email protected]>
* @license GPL-3.0
* @link https://www.ipgeoblock.com/
@tokkonopapa
tokkonopapa / drop-in-admin.php
Created November 11, 2018 01:37
Give permission to upload any files when administrator uses Elementor Page Builder
<?php
/**
* Drop-in for IP Geo Block custom filters for admin
*
* This file should be named as `drop-in-admin.php`.
*
* @package IP_Geo_Block
* @author tokkonopapa <[email protected]>
* @license GPL-3.0
* @link http://www.ipgeoblock.com/
@tokkonopapa
tokkonopapa / class-ip-geo-block.php
Created December 19, 2018 22:38
Updated for registration issue
<?php
/**
* IP Geo Block
*
* @package IP_Geo_Block
* @author tokkonopapa <[email protected]>
* @license GPL-3.0
* @link https://www.ipgeoblock.com/
* @copyright 2013-2018 tokkonopapa
*/