Last active
February 16, 2023 17:08
-
-
Save samk-dev/966645a2a713dedc4610e703c8882ac3 to your computer and use it in GitHub Desktop.
Loads admin template name inside wp admin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function enqueue_debug_scripts ($hook) { | |
echo "<p style='text-align:center;'>" .$hook. "</p>"; | |
} | |
add_action('admin_enqueue_scripts', 'enqueue_debug_scripts'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment