Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter madi123

    (@madi123)

    Actually it is because my setup is a bit special (I suppose wordpress is not really what should be used for this), and Im just trying to hack something together. That said I actually made it work yesterday, but it is way to complex/overengineered.

    Your solution is actually a good simple strategy, I will try it out a bit later today. Cheers!

    Thread Starter madi123

    (@madi123)

    I have found the code that is called when a post is created or edited in the wp-admin. I have tried to make a cURL request from there, but it seems like it does not get called.

    I dont get any error message, but my server it not reached. Is there anything that could prevent a curl call from being executed?

    Or is there a helper function somewhere in the wp-admin code for making a http request, that I could use?

    Thread Starter madi123

    (@madi123)

    I had a look at it, but I am not sure it makes sense in this case. If I add the action to my index.php, It would be triggered when I create a new post using the wp-admin tool?

    I’ve started looking into the post.php in the wp-admin folder, to see if I can run some code when the post is created, that maybe can help me. I am not sure yet

Viewing 3 replies - 1 through 3 (of 3 total)