Tag Info

Hot answers tagged


Add a rewrite endpoint to give your plugin a public URL- function wpa_my_endpoint(){ add_rewrite_endpoint( 'my_api', EP_ROOT ); } add_action( 'init', 'wpa_my_endpoint' ); After you flush rewrite rules, you'll have the URL available for the scheduler to ping. http://example.com/my_api/do/something/ Then catch those requests on the parse_query ...


Yes, because you did not change all domain URL values stored in database, mostly on posts. There are two solutions. (second one is recommended) Either define these variables in wp-config.php. These will override any domain URL values stored in database. define( 'WP_HOME', '' ); define( 'WP_SITEURL', '' ); This ...

Only top voted, non community-wiki answers of a minimum length are eligible