However, it is important to note that while this disables the right click method is effective, it’s not foolproof. There are still ways to bypass it, so it’s not a 100% secure solution. Nevertheless, it’s a simple and convenient way to prevent right-clicking on your WordPress website without using any plugins.
How to add custom CSS to WordPress?
How to disable WordPress comments?
Fix missing WordPress admin bar