LLMS_Admin_Settings::display_messages_html()

display messages in settings


Return Return

(void)


Top ↑

Source Source

File: includes/admin/class.llms.admin.settings.php

130
131
132
133
134
135
136
137
138
139
140
141
142
143
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>';
        }
    }
}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.