tribulant

Untitled

Aug 18th, 2011
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. <?php
  2.  
  3. if (class_exists('wpMail')) {
  4.     if ($wpMail = new wpMail()) {
  5.         global $wpdb, $Subscriber, $Db;
  6.         $Db -> model = $Subscriber -> model;
  7.  
  8.         if ($subscribers = $Db -> find_all(array('specialhead' => "yes"))) {
  9.             //retrieves all subscribers with "specialhead" field equal to "yes"
  10.         }
  11.     }
  12. }
  13.  
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment