Contact form

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11697

    Jorge Olvera
    Participant

    How does the contact form work?
    Where is the information sent?

    #11709

    Alex
    Keymaster

    Well the form values are posted in json format to api :

    data :

    {

    client_id:”yH8D7TFmb1QQK6kNNGaXTyL”,

    contact:{name: “mila”, email: “[email protected]”, message: “Mila kunis”},

    email:”[email protected]”,

    message:”Mila kunis”,

    name:”mila”,

    state:”h1b!&Sgs”

     

    }

     

    to this hit : http://www.xxxxx.com/wp-json/wplms/v1/contact/

    api code handled in vibe-course-module/includes/api/class-api-course-controller.php file .

    look for function ” contact_message “

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.