LLMS_Admin_Settings::display_messages_html()
display messages in settings
Contents
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.settings.php
public static function display_messages_html() { if ( count( self::$errors ) > 0 ) { foreach ( self::$errors as $error ) { echo '<div class="error"><p><strong>' . $error . '</strong></p></div>'; } } elseif ( count( self::$messages ) > 0 ) { foreach ( self::$messages as $message ) { echo '<div class="updated"><p><strong>' . $message . '</strong></p></div>'; } } }
Expand full source code Collapse full source code View on GitHub