New Hook in class FPD_Shortcode_Order -> function create

Posted over 8 years ago by Otto Hans

Post a topic
Implemented
O
Otto Hans

 I want a mail going out to the cusomer and I want the browser to open a custome link after finishing there product.


Would be nice if you implement a custome hook, so I can add my code at the end of the create function.


Line 58

wp_mail( $admin_mail, $subject, $message );


/* Space for custome code */

do_action( 'fancyproductdesigner_after_inserted' );


return $inserted;


I think a lot of people want special stuff to happen at the end of an order.

1 Votes


1 Comments

rady kal

rady kal posted about 8 years ago Admin

Added in 3.0.0

0 Votes

Login or Sign up to post a comment