Skip to content

Instantly share code, notes, and snippets.

@purivus-dev
purivus-dev / forgot_password.php
Last active March 12, 2021 20:06
Pie Register - Premium | Version: 3.6.16 | Bugs in file "forgot_password.php" and "login_form.php"
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if(!class_exists("PieRegister")){
require_once(PIEREG_DIR_NAME.'/pie-register.php');
}
function pieResetFormOutput($piereg_widget = false){
$pie_register_base = new PieReg_Base();
/*
@purivus-dev
purivus-dev / gist:9bd68355e73685a0d3ddf22b69048fe5
Last active August 5, 2019 12:26 — forked from wpflippercode/gist:1293f805f532494e0b8d5dc05caef749
Modify Info Window Contents for Posts Using Hook
add_filter('wpgmp_infowindow_post_message', 'wpgmp_infowindow_post_message',1,2 );
function wpgmp_infowindow_post_message($message,$map) {
//This will apply for map id 1, by accessing the map-object.
if( $map->map_id == '1') {
$message = "<h1>{marker_title}</h1>";
}