LLMS_Admin_Meta_Boxes::display_errors()
Display the messages in the error dialog box
Contents
Source Source
File: includes/admin/post-types/class.llms.meta.boxes.php
public function display_errors() { $errors = get_option( 'lifterlms_errors' ); if ( empty( $errors ) ) { return; } $errors = maybe_unserialize( $errors ); echo '<div id="lifterlms_errors" class="error"><p>'; foreach ( $errors as $error ) { echo esc_html( $error ); } echo '</p></div>'; delete_option( 'lifterlms_errors' ); }
Expand full source code Collapse full source code View on GitHub