markconan
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Hi Ironikus,
Yes, just editing doing codes on functions.php.
This Works perfectly, Just what I needed!Thank You Again. 🙂
Thanks for the response. 🙂
I did add the delay function:
add_action( 'profile_update', 'my_profile_update_delay', 10, 2 ); function my_profile_update_delay(){ WPWHPRO()->delay->add_post_delayed_trigger( array( $this, 'my_profile_update' ), func_get_args() ); } function my_profile_update( $user_id, $old_user_data ) { $custom_data = array( //custom data here ); do_action('wp_webhooks_send_to_webhook', $custom_data); }Whenever I update a user from a form, it returns
mywebsite.com/wp-admin/admin-ajax.php 500
when “$this” is present, so I replaced “$this” to “my_profile_update_delay”.
now, it doesnt return any error but it doesnt push any webhook either.seeking for further help.
thanks!Hi Ironikus,
I have the Pro version of the Plugin.
Wow, This is what I really needed right now.
Thank you for hearing my request and by implementing it right away, that was quick!Tested it and, It works perfectly!
I know this feature will help others too.
Thanks again!
Viewing 3 replies - 1 through 3 (of 3 total)