cp_payments_is_enabled( $type = 'listing' )
Checks if payments are enabled on site.
Package
Description #Description
Related #Related
Used By #Used By
Used By | Description |
---|---|
includes/admin/listing-single.php: CP_Listing_Info_Metabox::form() | Returns an array of form fields. |
includes/custom-forms.php: cp_show_review() | Displays preview of submitted ad listing. |
includes/custom-forms.php: cp_other_fields() | Displays the non-custom fields below the main listing submission form. |
includes/views.php: CP_Membership::template_redirect() | |
includes/categories.php: cp_category_dropdown_price() | Helper function for generating dropdown list of categories with prices. |
includes/views-checkout.php: CP_Listing_Form_Select_Category::get_category_fee() | Returns listing category fee. |
includes/views-checkout.php: CP_Listing_Form_Details::set_internal_data() | Sets listing internal data. |
includes/views-checkout.php: CP_Listing_Form_Details::validate_fields() | Validates submitted fields. |
includes/views-checkout.php: CP_Listing_Form_Preview::process() | Processing form. |
includes/views-checkout.php: CP_Membership_Form_Select::display() | Displays form. |
includes/views-checkout.php: CP_Membership_Form_Preview::process() | Processing form. |
includes/payments.php: cp_get_order_permalink() | Returns url of order connected to given Post ID. |
includes/payments.php: cp_cost_per_listing() | Displays the total cost per listing on the 1st step page. |
includes/payments.php: cp_ad_listing_fee() | Calculates the ad listing fee. |
includes/payments.php: cp_calc_ad_cost() | Calculates the total ad cost. |
includes/payments.php: cp_have_pending_payment() | Checks if post have some pending payment orders. |
includes/functions.php: cp_set_post_status() |