Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2.  
  3. if ($categories = simplenews_categories_load_multiple(array(), array('show_all' => FALSE))) {
  4. foreach ($categories as $category) {
  5. // Ensure loaded newsletter term
  6. $all_newsletter_terms[] = taxonomy_term_load($category->tid);
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement