Function Reference: geodir_package_list_info
Summary
This function has not been documented yet.
Filters
‘geodir_package_list_query’ [Line: 1155]
Source Code
function geodir_package_list_info($post_type = '', $pkgid = '') { global $wpdb; $subsql = ''; if($pkgid) $subsql .= " and pid = '$pkgid' "; if($post_type) $subsql .= " and post_type = '$post_type'"; $pricesql = "select * from ".GEODIR_PRICE_TABLE." where status=1 $subsql ORDER BY `display_order` ASC, `amount` ASC"; $pricesql = apply_filters('geodir_package_list_query' ,$pricesql ) ; return $priceinfo = $wpdb->get_results($pricesql); }