Forum: F.A.Q

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support and general questions related to GEO my WP plugin and its core add-ons please use the support forum.

WP Address into GMW Full Address

Forums F.A.Q WP Address into GMW Full Address

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #33694
    Chris Grant


    I’m still trying to sort out how to pass my field wpcf-address into the GMW full address field upon form submit. Here is my code, any help in setting the right variables is appreciated.

    add_action(“cred_save_data_4425”, “save_data_for_form_with_id_4425”,10,2);
    function save_data_for_form_with_id_4425( $post_id, $form_data ) {
    if ( function_exists( ‘gmw_pt_update_location’ ) ) {
    $args = array(‘full_address’ => get_post_meta( $post_id, ‘wpcf-address’, true) );
    gmw_pt_update_location( $args );

    Chris Grant

    Eyal, still hoping you can help with this unresolved issue. Need to pass address from user front end form to gmw field in backend.



    HI Chris,
    Not a problem. Older topics are getting lost when new topics are created. So if you don’t here back from me for usually 2 to 3 days just bump the topic ( like you just did 🙂 ).

    try the function below:

    make sure you are using the latest versions or GEO my WP ( or at least 2.4 I think) and change the post_type in the $args if you need to.

    Chris Grant

    Thanks Eyal,

    Works like a charm. Please mark as resolved.


    You are welcome!


    i assume this works with every bp installation and i just have to replace the field numbers? i guess i just got to find out the field id (e.g. by checking out the backend css in users/profile fields)?

    thanks for your help!

    David Korn


    how do I save my address field with the id field_719 in the form profile-edit-form. It is not being saved.


Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.