Fixing plugin
-
I am fixing a plugin. My code is like below
$metaquery = array( 'relation' => 'AND', array( 'relation' => 'AND', array( 'key' => 'idonate_donor_bloodgroup', 'value' => sanitize_text_field( isset( $_GET['bloodgroup'] ) ? $_GET['bloodgroup'] : '' ), 'compare' => '=' ), array( 'key' => 'idonate_donor_availability', 'value' => sanitize_text_field( isset( $_GET['availability'] ) ? $_GET['availability'] : '' ), 'compare' => '=' ), ), array( 'relation' => 'OR', array( 'key' => 'idonate_donor_country', 'value' => sanitize_text_field( isset( $_GET['country'] ) ? $_GET['country'] : '' ), 'compare' => '=' ), array( 'key' => 'idonate_donor_state', 'value' => esc_attr( isset( $_GET['state'] ) ? $_GET['state'] : '' ), 'compare' => '=' ), array( 'key' => 'idonate_donor_city', 'value' => esc_attr( isset( $_GET['city'] ) ? $_GET['city'] : '' ), 'compare' => '=' ), ) );
I would like to know the root of the
idonate_donor_country
. Where it is generated ?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fixing plugin’ is closed to new replies.