예제 #1
0
 function getApplicationData()
 {
     $app = array();
     $app['domain'] = WJ_Utils::get_domain();
     return $app;
 }
예제 #2
0
 function defaultSettings(&$values)
 {
     /* get the user data for the admin */
     //$datauser=wp_get_current_user();
     $current_user = WYSIJA::wp_get_userdata();
     $values['replyto_name'] = $values['from_name'] = $current_user->user_login;
     $values['emails_notified'] = $current_user->user_email;
     $values['replyto_email'] = $values['from_email'] = 'info@' . WJ_Utils::get_domain();
 }