on the plugin activation hook, instead of doing everything right there just set a cron job that will do it.
Related Posts:
- Uninstall, Activate, Deactivate a plugin: typical features & how-to
- Activate a plugin through PHPMyAdmin or FTP?
- Restricting a Plugin to Only Load its CSS and JS on Selected Pages?
- How can I modify what is being output in wp_head, whether by a theme or WordPress in general?
- How can I reduce the amount of files loaded/included per plugin?
- For performance is it better to build custom functionality into the theme or a plugin
- Multiple plugins vs combined one
- Automatically install wordpress plugin at theme activation
- Show a confirm message before plug-in activation
- WordPress tips for speed and performance [closed]
- Do Plugins effect site loading time?
- Function to activate WordPress theme inside a plugin
- Change page title from plugin
- explanation for activate_plugin function in wordpress core
- Remote plugin activation hook
- WordPress shortcodes & performance
- Force plugin to fail activation
- Changing BIGINT to INT
- WordPress register_activation_hook table creation not working
- Prevent CSS/JS loading when plugin is not used
- How to see list of plugins
- The plugin generated x characters of unexpected output, $wpdb not defined
- WordPress Plugin Boilerplate – add_action hook in static “activate” function
- WordPress web page struggling with performance
- How do I know which plugin uses the most resource?
- Cannot run the code after I activate the plugin
- Unable to activate wordpress importer after installing it
- Auto add content such as pages upon plugin activation?
- Detect when any plugin is activated or deactivated
- How to automate wordpress plugin activate and deactivate by php logic?
- Plugin won’t activate – cannot declare class (already in use)
- How to activate plugins for my WordPress sites from a remote server
- register_activation_hook with include file [closed]
- prettyPhoto media loading very slowly in Chrome
- How to load plugin after page is loaded – pagespeed issues
- Prevent a plugin from being automatically activated
- Is any information available in PHP files in WP about plugin activation history?
- WordPress takes too much time (100 seconds) to load – Front end and back end
- WordPress performance – W3 Total Cache and memcached/APCu
- Activated plugin is stored as an object, rather than as a path
- how to find and correct plugin query performance issues
- Own plugin corrups plugin-activation
- Correct way to perform non-cacheable DB query
- Does using WP-cron make the site slower for the user?
- How to check if tables in WordPress still exists after activations
- Run plugins only on certain pages
- page loading time of a cached page
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- Force file download on plugin activation
- WordPress user account activation
- Init plugin again after ajax call finish
- Multiple instance of data in plugin custom database table on plugin activation
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- Why this function not working for install database on plugin activation
- w3 Total Cache not Caching – Requested URI is rejected [closed]
- add_action in a custom plugin
- Namespaced shortcode?
- Run function on plugin activation before plugin is loaded
- Does heavy theme and plugins affect server’s response time? [closed]
- A question about register_activation hook
- One sub site is slow while all others load fine, same theme & plugins [closed]
- rewrite_rules() not applying rules on plugin activation only after permalinks menu is clicked
- Performance impact with inactive plugins? [duplicate]
- (WordPress 5.8.3) Function.php or a plugin for better performance? [duplicate]
- Plugin has added weird data in wp_options, set to autoload
- register_activation_hook() not working as expected
- Super slow plugin page (lots of error 500)
- Advanced WordPress plugin activation detection
- Profile / benchmark wordpress on apache?
- Can i use init hook for API purpose?
- Apparent errer when installing plugin
- Activate a plugin via a SQL query
- should i use GLOB_ONLYDIR to hook add-ons for wordpress plugin
- Developing plugin, where to place action hooks etc?
- Is there existing plugins to “Click-to-Launch” embedded Flash / SWF content?
- Minification Plugins break my website
- Activation flow of a plugin in a multisite environment
- “Disable” specific plugins on certain pages
- is there a way to preload specific images for desktop users only? (excluding mobile users)
- Profiling the initial PHP file, anyone, that get like 10 seconds to load
- how to enable/activate a plugin per Cpanel
- My WordPress activation hook isn’t working
- Cannot modify header information – headers already sent during plugin activation
- Searched & tried a lot: Is it Possible to Eliminate Render Blocking Manually
- Error Copying Directory On Plugin Activation
- Is saving multiple options or saving multiple items in one option better?
- Very Slow loading. Plugins report provided by P3 included
- Problems with installing and deleting plugins
- Plugin De/Activation Not Firing On MultiSite install
- Custom Table doesn’t create on plugin activation
- Activate plugins by a theme’s functions.php?
- Is it possible to send user new password after they clicking on forgot password in word press
- Plugins to generate CSS Sprites? [closed]
- Combining JS files to one script
- How to execute init or woocommerce_init only for checkout page
- How to debug periodic performance issue
- Is option_active_plugins actually doing anything useful?
- Hidden Elementor sections slow down website. How to fix this? [closed]
- How can i store cache of wordpress a database request without plugins?
- How can I wordpress cache a database request with no existing plugin?