rename file

This commit is contained in:
Ray Elliott 2020-08-12 19:50:04 +01:00
parent 5494287999
commit 9c6f61cc09
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<?php <?php
$block_slug = basename( __FILE__, '.php' ); $block_slug = basename( dirname( __FILE__ ) );
$theme_slug = get_option( 'stylesheet' ); $theme_slug = get_option( 'stylesheet' );
add_action( 'init', function() { add_action( 'init', function() {