diff --git a/debug-bar-timber.php b/debug-bar-timber.php index c10827b..f7c6176 100644 --- a/debug-bar-timber.php +++ b/debug-bar-timber.php @@ -1,34 +1,40 @@ -WordPress Debug Bar Plugin"; - - add_action( 'admin_notices', static function() use ( $text, $class ) { - echo '

'.$text.'

'; - }, 1 ); - } -}, 11); - -function tdb_enqueue_styles() { - wp_enqueue_style( 'dbt', plugins_url( "timber-debug-bar.css", __FILE__ ), [], '20200710' ); -} -add_action( 'wp_enqueue_scripts', 'tdb_enqueue_styles', 99 ); +WordPress Debug Bar Plugin"; + + add_action( 'admin_notices', static function() use ( $text, $class ) { + echo '

'.$text.'

'; + }, 1 ); + } +}); + +function tdb_enqueue_styles() { + wp_enqueue_style( 'dbt', plugins_url( "timber-debug-bar.css", __FILE__ ), [], '20200710' ); +} +add_action( 'wp_enqueue_scripts', 'tdb_enqueue_styles', 99 );