Posted By

JuliaKM on 02/05/08


Tagged

drupal paypernode


Versions (?)

Drupal: Redirect Authorize.net Purchase if PayPerNode


 / Published in: PHP
 

  1. <?php
  2. $nodetypes = node_get_types('names');
  3.  
  4. foreach ($nodetypes as $key => $type){
  5. if (paypernode_user_can_create($key) > 0):
  6. drupal_goto('node/add/' . $key);
  7. endif;
  8. }
  9.  
  10. ?>

Report this snippet  

You need to login to post a comment.