Function Reference: geodir_payment_metabox_add
Summary
This function has not been documented yet.
Source Code
function geodir_payment_metabox_add() { global $post; $geodir_post_types = geodir_get_posttypes('array'); $geodir_posttypes = array_keys($geodir_post_types); if( isset($post->post_type) && in_array($post->post_type,$geodir_posttypes) ): $geodir_posttype = $post->post_type; $post_typename = geodir_ucwords($geodir_post_types[$geodir_posttype]['labels']['singular_name']); add_meta_box( 'geodir_listing_transaction', 'Listing Transactions', 'geodir_listing_transaction', $geodir_posttype,'normal', 'high' ); endif; }