Function Reference: get_payment_options
Summary
This function has not been documented yet.
Source Code
function get_payment_options($method) { global $wpdb; $paymentsql = $wpdb->prepare("select * from $wpdb->options where option_name like %s",array('payment_method_'.$method)); $paymentinfo = $wpdb->get_results($paymentsql); if($paymentinfo) { foreach($paymentinfo as $paymentinfoObj) { $optReturnarr = array(); $option_value = unserialize($paymentinfoObj->option_value); foreach($option_value as $key => $value) { if($key != 'payOpts') { $optReturnarr[$key] = $value ; } } $paymentOpts = $option_value['payOpts']; for($i=0;$i