Do things if you are in the WordPress Admin Panel

1
2
<?php if (is_admin() && (defined('DOING_AJAX') || DOING_AJAX)) {?>
/*do stuff*/
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.