LLMS_Table_Students::output_table_title_html()
Contents
Source Source
File: includes/admin/reporting/tables/llms.table.students.php
public function output_table_title_html() {
parent::output_table_title_html();
?>
<form id="llms-clear-student-progress-cache" action="<?php echo esc_url( LLMS_Admin_Page_Status::get_url( 'tools' ) ); ?>" method="POST">
<button class="button button-secondary" id="llms-clear-reporting-cache" name="llms_tool" type="submit" value="clear-cache"><?php echo esc_html__( 'Clear Reporting Cache', 'lifterlms' ); ?></button>
<?php wp_nonce_field( 'llms_tool' ); ?>
<label for="llms-clear-reporting-cache">
<span class="screen-reader-text"><?php echo esc_html__( 'Click to refresh the data and display the most current reporting information', 'lifterlms' ); ?></span>
<span class="tip--top-right" data-tip="<?php echo esc_html__( 'Click to refresh the data and display the most current reporting information', 'lifterlms' ); ?>">
<i class="fa fa-question-circle"></i>
</span>
</label>
</form>
<?php
}
Expand full source code Collapse full source code View on GitHub