Return to Snippet

Revision: 30483
at August 14, 2010 21:16 by fatihturan


Initial Code
<?php global $user_ID; if( $user_ID ) : ?>
<?php if( current_user_can('level_10') ) : ?>
<?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?>
<?php endif; ?>
<?php endif; ?>

Initial URL
http://wptricks.net/how-to-display-content-for-admin-only/

Initial Description


Initial Title
Display Specific Content for Admin Only

Initial Tags
wordpress

Initial Language
PHP