• 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 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Browsing Custom URL Standalong PHP Files’ is closed to new replies.