Hello @mrstevejobs ,
We tested the provided PHP code snippet on our end, but we were unable to replicate the problem you described.
Given that we didn’t encounter any issues during our testing, it’s possible that the behavior you experienced may stem from conflicts with other plugins or themes installed on your WordPress site.
To troubleshoot the issue further, we recommend the following steps:
-Deactivate Other Plugins: Temporarily deactivate other plugins one by one and test the HTML printing functionality after each deactivation. This process will help identify if any plugin is causing conflicts.
-Switch to Default Theme: Temporarily switch to a default WordPress theme (such as Twenty Twenty-One) to see if the issue persists. If the problem disappears with the default theme, it indicates a conflict with your current theme.
Please let us know if you require further assistance or if you have any additional information that could help us pinpoint the cause of the issue.
Thanks and Regards,
Anjali