Preload function from standalone php
-
Hi,
is it possible to call preload function from standalone php file? I have following script, but it only works from browser where user is logged in to wordpress:
define( 'WP_USE_THEMES', false ); include_once 'wp-load.php'; WP_Optimize_Page_Cache_Preloader::instance()->run('manual');
If it called from cronjob (this is what I want) it just preload 20 – 25 pages and stops.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Preload function from standalone php’ is closed to new replies.