Browsing Custom URL Standalong PHP Files
-
In the video on Beginning WordPress developer – plugin requirements, the author mentions adding the below code at at the beginning of a plugin file. Would this code also be advised for custom standalone php files used to execute other applications and enter/update information into the database? If not, then what is advised for custom standalone php files?
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
Ronald
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.