Home Forums Plugin Support WP User Frontend Pro add_action( 'wpuf_edit_post_after_update'

This topic is: resolved

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  zellermaniac 5 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3797

    zellermaniac
    Participant
    Post count: 40

    I need the user update Version?

    How can I find the possible Hooks? Search in the Code?

    #3799

    Tareq Hasan
    Keymaster
    Post count: 2831

    See the developer docs.

    #3803

    zellermaniac
    Participant
    Post count: 40
    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 3 posts - 1 through 3 (of 3 total)

The topic ‘add_action( 'wpuf_edit_post_after_update'’ is closed to new replies.