# learnpress/4.4.0/templates/profile/tabs/statistics/instructor-statistics.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.4.0. 30 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.4.0/code/templates/profile/tabs/statistics/instructor-statistics.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.0/raw/templates/profile/tabs/statistics/instructor-statistics.php
- Modified: 2024-08-10T07:01:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/learnpress/4.4.0/code/templates/profile/tabs/statistics/instructor-statistics.php#L10-L20`.

```php
<?php
/**
 * Template for displaying instructor statistic in user profile overview.
 *
 * @author  ThimPress
 * @package LearnPress/Templates
 * @version 1.0.0
 */

use LearnPress\Helpers\Template;

defined( 'ABSPATH' ) || exit;

if ( empty( $data ) ) {
	return;
}

$html_wrapper = apply_filters(
	'learn-press/profile/layout/instructor-statistics/wrapper',
	[
		'<div id="dashboard-statistic">'         => '</div>',
		'<div class="dashboard-statistic__row">' => '</div>',
	]
);

ob_start();
do_action( 'learn-press/profile/layout/instructor-statistics', $data );
$inner_html = ob_get_clean();
echo Template::instance()->nest_elements( $html_wrapper, $inner_html );

```
