Using WordPress ‘doing_it_wrong_run’ PHP action
The `doing_it_wrong_run` PHP action in WordPress is fired when a function is being used incorrectly and provides various ways to handle it such as logging, sending emails, displaying notices, disabling…