I've seen this code: defined( 'ABSPATH' ) || exit;
My understanding is that the OR
operator returns true if one of them is true. But in this case, exit
is a function rather than an assessment to be tested. So is this means that if defined( 'ABSPATH' )
is false, then execute the exit
? Why it will execute if it's false?