Yes you can use wp_schedule_event to trigger a hook used in your plugin to request the API URL after a certain amount of time.
Related Posts:
- Difference Between Filter and Action Hooks?
- How can you check if you are in a particular page in the WP Admin section? For example how can I check if I am in the Users > Your Profile page?
- How to create an API for my plugin?
- How to store username and password to API in wordpress option DB?
- Is there a limit on making calls to WordPress.org API’s?
- Using filters and actions for plugin API?
- WordPress and multithreading
- permalinks with get variables
- Build dynamic page from cURL (HTML page) response with plugin
- How to override a function call in functions.php?
- wp_enqueue_style built in styles
- Should I ask my Twitter plugin users to create their own Twitter App and API Keys to use my plugin?
- Does WordPress’s HTTP API use any caching?
- Example Dashboard Widget, Cancel not working
- Amending REST API function without deactivate/activate plugin every time changes is made
- Why does wp_remote_post returns an empty body response on certain endpoints?
- Adding custom end points, No error line
- Sending post request with wp_remote_post not working correctly
- woocommerce_checkout_order_processed hook executing function twice
- What to hook into to check a value before a post is published?
- Encoding Method for URLs?
- Google credentials and redirect URI for Google OAuth2 in a WordPress plugin, questions
- Plugin index page code executes multiple times
- Pass CF7 form data to plugin
- Plugin architecture to pull from API & create dynamic content on WP site?
- Lead form that submits to 2 external APIs
- Widget internal hooks and functions
- Allow REST API Endpoint to specific user and hide from public
- Custom Endpoint – Does it possible to use PUT method with WP API Rest?
- Get API auth_token token to renew weekly
- How to query a nested field in wordpress api using _fields param
- call funcution when clicking submit
- Adding Amchart Interface to WordPress API
- How do I make secure API calls from my WordPress plugin?
- Generate Static Page to Show Search Results/Detail for API
- Using AJAX to submit and return data inside the WordPress Plugin Boiler Plate framework
- Hiding WordPress REST endpoints from public viewing using Basic Authentication
- add pagination to wp_remote_get
- Multisite and the JSON REST API: How to?
- How do WordPress plugins work with oAuth2 APIs?
- API WordPress is Limited? Return False
- Tie specific functions to options-update for limiting API requests
- Do you see any problems (mainly security-related) with how I’ve used wp_ajax_* actions?
- Is there a way to tell if a shorcode’s handler is being run before or after the content formatting filter?
- Can a plugin differentiate syndication feeds from actual site views?
- Developing a plugin, ran it through P3 Profiler, shows up slow, but I don’t know why
- add_rewrite_rule not working
- How do I query posts and have their related taxonomies returned in the results?
- modify buddpress adminbar only in admin pages
- How to update WordPress Plugins in your own maintance application?
- Programmatically creating posts based on external JSON feed (asynchronously)
- External api call using wordpress
- WordPress getting data from external API
- how to send csv file to other server using wp_remote_post?
- How do I return XML to an API post request
- wordpress how to query wp_options table
- rest_no_route on custom API endpoint wordpress
- WP and object persistence (or lack thereof)
- adding wp-cli commands to plugin: how to document to users?
- Additional classes `undefined` after saving post in Gutenberg
- How do you submit a Gutenberg plugin?
- Multiple API Endpoints (wp_remote_get)
- plugin_dir_url & plugin_basename not working when plugin dir is outside wordpress dir
- How to replace default comments with custom HTML?
- WP nonce field checkbox prints checked=’checked’ outside input field
- Shortcode not appearing when used as post content in wp_insert_post() or possibly, shortcode not being registered at all
- Creating two tables in database on activation hook
- How to overwrite iris color pallates from theme to plugin
- in_array function Problem
- Best practice for plugin: always detect admin-ajax call?
- How to hide page links from theme menu
- Brainstorm – Slow Query from Plugin Need to Speed It Up
- Thickbox in Plugin settings page?
- WooCommerce currency converter support [closed]
- Woocommerce – looping product images
- How to add text editor in plugin menu?
- Console errors in 6.0-RC1 Widget screen
- Information and Page from WordPress Plugin
- How to control ajax calls without effecting memory of server?
- Can’t upload image via submitting custom post from frontend
- Need Help to make a logic for editing posts in Frontend
- PHPUnit Testing and woocommerce Constant
- WordPress Query doesn’t return the correct value
- Uncaught Error: Call to undefined function wp_get_current_user() in
- Custom Plugin activation error in Multisite
- wp_ajax function return the html page
- Translation not working for Constant strings in Plugin
- How to force download a plugin generated file?
- Upload images to custom database table in admin backend
- Adding admin for specific users
- Developing a plugin where users can edit entries saved in database
- Attach an image to new posts
- wordpress plugins with add-ons
- WordPress Plugin default option
- How to plugin function code move to theme function.php ? I’ve tried below code but not working [closed]
- oneOf two possible objects in WP REST API?
- Can I log the searches that are returning 404 in the DB?
- How to enable auto update for embedded plugins
- My activator class isn’t running the code inside
- Expose hidden custom post type