Do things if you are in the WordPress Admin Panel

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

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.