Hi Caleb,
Thnkas for your prompt reply I did follow the above tut but I cannot seem to get it working how I would like I wants the trigger to run when the Woocommerce Memberships status is changed so replacing the action from :-
add_action( 'woocommerce_order_status_pending_to_processing_notification', array( $this, 'trigger' ) );
to :-
add_action( 'wc_memberships_user_membership_saved', array( $this, 'trigger' ) );
But nothing seems to happen Ive also tried :-
add_action( 'save_post', array( $this, 'trigger' ) );
Just to try and get it to fire but it seems the trigger never seems to fire regards of what action I use.
Any help here would be appreciated I feel like I am just missing one last piece.
Many Thanks
J
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 284 تاريخ : جمعه 28 خرداد 1395 ساعت: 18:38