WordPress Hosting
Free Photos
WordPress Themes

Drupal if user is admin

<?php if(user_access('administer')) { ?> Do whatever you want here. <?php } ?>

1 Response

Write a 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.