How to set intervals in cron jobs?
You can do this via wp_cron by using the following, function more_reccurences() { return array( ‘sixhourly’ => array(‘interval’ => 21600, ‘display’ => ‘Every 6 hours’), ); } add_filter(‘cron_schedules’, ‘more_reccurences’); then find the function that does the autopost and call it by if ( !wp_next_scheduled(‘autopost_function’) ) { wp_schedule_event(time(), ‘sixhourly’, ‘autopost_function’); } If you want to use … Read more