# learnpress/4.1.7.3.2/inc/admin/views/admin-notices/wrong-name-plugin.php

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

- Page: https://pluginprobe.com/plugins/learnpress/4.1.7.3.2/code/inc/admin/views/admin-notices/wrong-name-plugin.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.7.3.2/raw/inc/admin/views/admin-notices/wrong-name-plugin.php
- Modified: 2022-11-14T02:57:44+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.1.7.3.2/code/inc/admin/views/admin-notices/wrong-name-plugin.php#L10-L20`.

```php
<?php
/**
 * Template for display error wrong name plugin learnpress
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

if ( ! isset( $data ) ) {
	return;
}
?>

<div class="notice <?php echo esc_attr( $data['class'] ?? '' ); ?>">
	<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>

```
