Answer the question
In order to leave comments, you need to log in
How can you understand this line of code?
I came across the following piece of code while parsing the plugin:
if ( ! defined( 'WPINC' ) ) {
die;
}
defined — Tests for the existence of the specified named constant
Note the conditional statement at the bottom of the file. This means that the plugin file will not be directly accessible in a web browser.
Answer the question
In order to leave comments, you need to log in
WPINC
The name of the wp-includes directory. You cannot change this constant.
Default: wp-includes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question