Hi,
Please add PHP code using Snippets only, so that I can switch on-off this functionality whenever needed
WP Admin –> Snippet –> Add New