Last active
February 20, 2019 17:25
-
-
Save slavapas/a8057b3fad00a8719a5902835c591731 to your computer and use it in GitHub Desktop.
wordpress - prevents public user to directly access your .php files through URL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; // Exit if accessed directly | |
} | |
? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment