Function Reference: geodir_payment_gateway_setting_form

Summary

This function has not been documented yet.

Source Code

function geodir_payment_gateway_setting_form()
{
global $wpdb;

if(isset($_GET[‘status’]) && $_GET[‘status’]!= ”)
{
$option_value[‘isactive’] = sanitize_text_field($_GET[‘status’]);
}

$paymentupdsql = $wpdb->prepare(“select option_name, option_value from $wpdb->options where option_id=%d”, array((int)$_GET[‘id’]));

$paymentupdinfo = $wpdb->get_results($paymentupdsql);
if($paymentupdinfo)
{
foreach($paymentupdinfo as $paymentupdinfoObj)
{
$option_name = $paymentupdinfoObj->option_name;
$option_value = unserialize($paymentupdinfoObj->option_value);
$paymentOpts = $option_value[‘payOpts’];
}
}

?>




‘” />

0 0