Up to 50 percent off

add_action( 'wpuf_edit_post_after_update'

This topic contains 2 reply and 2 voices, and was last updated by zellermaniac 11 years, 6 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
May 17, 2013 at 8:19 pm 3797
zellermaniac I need the user update Version? How can I find the possible Hooks? Search in the Code?
May 17, 2013 at 8:46 pm 3799
Tareq Hasan Tareq Hasan

See the developer docs.

May 17, 2013 at 9:39 pm 3803
zellermaniac zellermaniac
function shk_update_geolocation_user( $form_id, $post_id, $form_settings ) {
   if ( isset( $_POST['find-address'] ) ) {
        update_user_meta(get_current_user_id(), 'shk-geolocation', $_POST['find-address']);
    }
}
add_action('wpuf_update_profile', 'shk_update_geolocation_user', 10, 3 );

Works

Viewing 2 Posts - 1 through 2 (of 2 total)