• I have a php script, that creates a digital ocean droplet remotely, inside a wordpress e-commerce(woocommerce).

    I need to develop 2 modifications:

    – Check if the user is logged in, to execute the script. ( I have already tried to include (../../wp-load.php and call the is_user_logged_in() function, but nothing happens).
    – After a sucess, the script returns a json containing the droplet informations. I need to output a html button(styled), that call an ajax function, that prints the principal informations of the droplet, like the ip address, size, etc.

    • This topic was modified 8 years, 5 months ago by marcosquixada.
  • The topic ‘Ajax Button – Digital Ocean Droplet Return’ is closed to new replies.