Skip to content

Commit

Permalink
Merge pull request #188 from IanDelMar/patch-1
Browse files Browse the repository at this point in the history
Prevent direct access
  • Loading branch information
holger1411 committed Sep 27, 2018
2 parents 164a370 + 98e7cce commit 7b7b9ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}

function understrap_remove_scripts() {
wp_dequeue_style( 'understrap-styles' );
wp_deregister_style( 'understrap-styles' );
Expand Down

0 comments on commit 7b7b9ff

Please sign in to comment.