Skip to content

Instantly share code, notes, and snippets.

@purivus-dev
purivus-dev / forgot_password.php
Last active Mar 12, 2021
Pie Register - Premium | Version: 3.6.16 | Bugs in file "forgot_password.php" and "login_form.php"
View forgot_password.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 Aug 5, 2019 — forked from wpflippercode/gist:1293f805f532494e0b8d5dc05caef749
Modify Info Window Contents for Posts Using Hook
View gist:9bd68355e73685a0d3ddf22b69048fe5
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>";
}