HM\BackUpWordPress\Email_Service::field PHP Method

field() public method

Output the email form field
public field ( )
    public function field()
    {
        ?>

		<tr>

			<th scope="row">
				<label for="<?php 
        echo esc_attr($this->get_field_name('email'));
        ?>
"><?php 
        _e('Email notification', 'backupwordpress');
        ?>
</label>
			</th>

			<td>
				<input type="text" id="<?php 
        echo esc_attr($this->get_field_name('email'));
        ?>
" name="<?php 
        echo esc_attr($this->get_field_name('email'));
        ?>
" value="<?php 
        echo esc_attr($this->get_field_value('email'));
        ?>
" placeholder="[email protected]" />

				<p class="description"><?php 
        printf(__('Receive a notification email when a backup completes. If the backup is small enough (&lt; %s), then it will be attached to the email. Separate multiple email addresses with a comma.', 'backupwordpress'), '<code>' . size_format(get_max_attachment_size()) . '</code>');
        ?>
</p>
			</td>

		</tr>

	<?php 
    }