Protect plugin file
-
Typically they suggest/recommend something like this at the top of your plugin file to prevent improper usage. Can you consider adding this:
if ( ! defined( ‘ABSPATH’ ) ) { exit; }
I don’t know if a similar thing needs to or should be inserted into the class file or not.
- The topic ‘Protect plugin file’ is closed to new replies.