<div class="inside"> <p class="description"><?php _e('Settings for an e-mail an instructor will get upon receiving an invitation.', 'cp'); ?> </p> <table class="form-table"> <tbody id="items"> <tr> <th><?php _e('From Name', 'cp'); ?> </th> <td> <input type="text" name="option_instructor_invitation_from_name" value="<?php echo esc_attr(coursepress_get_instructor_invitation_from_name()); ?> "/> </td> </tr> <tr> <th><?php _e('From E-mail', 'cp'); ?> </th> <td> <input type="text" name="option_instructor_invitation_from_email" value="<?php echo esc_attr(coursepress_get_instructor_invitation_from_email()); ?> "/>
function my_instructor_invitation_from_name_function($name) { return coursepress_get_instructor_invitation_from_name(); }