Support for purging private post types.
This is not normal to want to do, but we had a customer use a 10up made plugin that uses private post types to manage the /ads.txt content. With the new changes made the customer will be able to auto purge this.
Removed php 8.4 deprecation messages
There was a change in php 8.4 where this function parameter is no longer valid function_name(string $body = null). It does not like that it is typed as a string and use null. If we only supported 8.X it could have been function_name(string|null $body = null), but 7.X does not support union types. Thus they have been changed ot function_name($body = null) and we define the type in the DocBlock.