Action Reference: geodir_save_listing_payment
Summary
Fires when a post payment info is saved.
Description
The `$prev_package_id` may not be set all the time.
Parameters
- $last_post_id
- (int) (required) The post id that is being downgraded.
- Default: None
- $prev_package_id
- (int|null) (required) The price package the post was on.
- Default: None
- $package_id
- (int|null) (required) The price package the post is being downgraded to.
- Default: None
- $payment_info
- (array) (required) An array containing the payment info details.
- Default: None
Used by
geodir_payment_actions.php: geodir_save_listing_payment() [Line: 715]
Source Code
do_action('geodir_save_listing_payment',$last_post_id,$prev_package_id,$package_id,$payment_info);