<div class="inside">
				<p class="description"><?php 
_e('Settings for an e-mail student get upon account registration.', 'cp');
?>
</p>
				<table class="form-table">
					<tbody id="items">
					<tr>
						<th><?php 
_e('From Name', 'cp');
?>
</th>
						<td>
							<input type="text" name="option_registration_from_name" value="<?php 
echo esc_attr(coursepress_get_registration_from_name());
?>
"/>
						</td>
					</tr>

					<tr>
						<th><?php 
_e('From E-mail', 'cp');
?>
</th>
						<td>
							<input type="text" name="option_registration_from_email" value="<?php 
echo esc_attr(coursepress_get_registration_from_email());
?>
"/>
Exemplo n.º 2
0
 function my_registration_from_name_function($name)
 {
     return coursepress_get_registration_from_name();
 }