Can’t access wp_filesystem in cron function

So of course as soon as I post this I find the solution. After looking for it for a day. I had to include the file handling the request_filesystem_credentials manually in the function. For reference this was
require ABSPATH . 'wp-admin/includes/file.php';

Leave a Comment

tech