I have over 100k thousand rows in my post_meta table so would like to remove the expired ones so that the hourly hive press hook can run successfully to expire my jobs correctly.
Please can you tell me where the code snippet should be added? Is it in the wp-config.php file?
You can add code snippets via the Code Snippets plugin or to the child theme’s functions.php file. Please note that disabling cache will not resolve the cleanup issue as it also relies on the hourly cron job (as well as the listing expiration and other routines in HivePress core), if it fails then the cache cleanup will not run. If this issue is not resolved, you’d have to cleanup the database table with SQL query, after adding the code snippet that disables built-in cache.