# learnpress/4.4.8/inc/admin/views/admin-notices/setup-wizard.php

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

- Page: https://pluginprobe.com/plugins/learnpress/4.4.8/code/inc/admin/views/admin-notices/setup-wizard.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.4.8/raw/inc/admin/views/admin-notices/setup-wizard.php
- Modified: 2026-09-18T11:22:50+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.8/code/inc/admin/views/admin-notices/setup-wizard.php#L10-L20`.

```php
<?php
/**
 * Template for display error wrong permalink structure.
 *
 * @version 1.0.1
 * @since 3.0.0
 */

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

if ( ! isset( $data ) || ! isset( $data['check'] ) || ! $data['check'] ) {
	return;
}
?>
<div id="notice-install" class="lp-notice notice notice-info">
	<p><?php echo sprintf( '<strong>%s</strong>', __( 'LearnPress LMS is ready to set up', 'learnpress' ) ); ?></p>
	<p>
		<a class="button button-primary" href="<?php echo admin_url( 'index.php?page=lp-setup' ); ?>"><?php _e( 'Quick Setup', 'learnpress' ); ?></a>
		<?php
		if ( isset( $data['allow_dismiss'] ) ) :
			?>
			<button type="button" class="notice-dismiss btn-lp-notice-dismiss" data-dismiss="lp-setup-wizard">
				<span class="screen-reader-text">Dismiss this notice.</span>
			</button>
		<?php endif; ?>
	</p>
</div>

```
