Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

WPSE-75230

By: brasofilo on Dec 6th, 2012  |  syntax: PHP  |  size: 0.30 KB  |  views: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. class PDER_Admin{
  2.                
  3.         function schedule_reminder( $data ){
  4.                
  5.         }
  6. }
  7.  
  8. Class PDER_Base {
  9.        
  10.         public function __construct(){
  11.                 $this->admin_init();
  12.         }
  13.        
  14.        
  15.         function admin_init(){
  16.                 if( !is_admin() ) return;
  17.                
  18.                 $admin = new PDER_Admin;
  19.                 $admin->init();
  20.         }
  21.  
  22. }
  23.  
  24. //boot strap
  25. new PDER_Base();
clone this paste RAW Paste Data