# learnpress/4.3.9/inc/admin/views/admin-notices/plugin-base.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.3.9. 28 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.3.9/code/inc/admin/views/admin-notices/plugin-base.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.3.9/raw/inc/admin/views/admin-notices/plugin-base.php
- Modified: 2026-06-08T02:53:42+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.3.9/code/inc/admin/views/admin-notices/plugin-base.php#L10-L20`.

```php
<?php
/**
 * Template for display error wrong name plugin learnpress
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

if ( ! isset( $data ) || ! isset( $data['check'] ) || ! $data['check'] ) {
	return;
}
?>

<div class="notice notice-warning">
	<p>
		<?php
		printf(
			__(
				'The LearnPress plugin base directory must be <strong>learnpress/learnpres.php</strong> (case-sensitive) to ensure all functions work properly and are fully operational (currently <strong>%s</strong>)',
				'learnpress'
			),
			LP_PLUGIN_BASENAME
		);
		?>
	</p>
</div>

```
