Premium features on the edit page
Hi
Thank you for the beautiful theme.
I need help. I have ads with premium features "Featured Listing", "Highlight Ad".
But premium features are not displayed on the ad editing page (if the ad is saved).
I trying to modify the theme, but I have a few questions.
1. I displayed the premium features on the edit page (
form-listing-edit.php).
How do I find a submit handler or hook for a form in
form-listing-edit.php?
Note. I need to defer changes of the premium features while payment is pending. I plan use Order Data for this. I would appreciate any ideas.
2. How to correctly fill an order? I read the
documentation but I need an example of creating a new object.
3. I need create a new order and call the redirect to the payment page when the user saved an ad. Ok, i found this code, it's right?:
PHP Code:
if ( $order->is_escrow() ) {
$result = appthemes_escrow_process( $order->get_gateway(), $order );
} else {
$result = appthemes_process_gateway( $order->get_gateway(), $order );
}
-------------------------
Theme:
classipress 3.6.1
Plugins:
CP Premium Add-ons
CP Phone Link
SM Sticky Featured Widget
Paid Ad Features
Custom Field Data Icons
......
Best regards