/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $nodetypes = node_get_types('names'); foreach ($nodetypes as $key => $type){ if (paypernode_user_can_create($key) > 0): drupal_goto('node/add/' . $key); endif; } ?>