Skip to content

Commit 7b7b9ff

Browse files
authored
Merge pull request #188 from IanDelMar/patch-1
Prevent direct access
2 parents 164a370 + 98e7cce commit 7b7b9ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

functions.php

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<?php
2+
if ( ! defined( 'ABSPATH' ) ) {
3+
exit; // Exit if accessed directly.
4+
}
5+
26
function understrap_remove_scripts() {
37
wp_dequeue_style( 'understrap-styles' );
48
wp_deregister_style( 'understrap-styles' );

0 commit comments

Comments
 (0)