Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[WordPress] How To Prevent Direct Access To Your Plugin
<?php
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment