Tag Info

New answers tagged


That's pretty simple, just use your website home url :) After that, just fire an action when the page is loaded via POST HTTP method and hook with a callback. add_action( 'wp_loaded', function() { if ( $_SERVER['REQUEST_METHOD'] === 'POST' ) { // fire the custom action do_action('onchangeapi', new PostListener($_POST)); } } ); And now ...


I will give you a small answer to your update, doing this with the WP API. The API have the possibilities to use the WP_Query like also in core, but about the get parameters in the url. A URL to pull content from Post Status would look like this: http://example.com/wp-json/posts To pull content with WP_Query parameters you’re used to, you could do it ...

Top 50 recent answers are included