public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/builder/easyform.php
/**
		 * Shows a status or error message for the user using the standard Wordpress admin format.
		 *
		 * @param String $message The message to show.
		 * @param String $errormsg If true, show an error message.
		 *
		 * @return String The error message
		 */
Shows a status or error message for the user using the standard Wordpress admin format.
@param String $message The message to show.
@param String $errormsg If true, show an error message.

@return String The error message
Shows a status or error message for the user using the standard Wordpress admin format . @param String $message The message to show . @param String $errormsg If true show an error message . @return String The error message
public function showMessage( $message = "Settings saved.", $errormsg = false ) {
			$html = false;
			if ( $errormsg ) {
				$html .= '<div id="message" class="wpcw-form-legacy-message notice is-dismissible error">';
			} else {
				$html .= '<div id="message" class="wpcw-form-legacy-message notice is-dismissible updated fade">';
			}
			$html .= "<p><strong>$message</strong></p></div>";
			return $html;
		}
public function showMessage ( $ message = " Settings saved. " , $ errormsg = false ) { $ html = false ; if ( $ errormsg ) { $ html .= '<div id="message" class="wpcw-form-legacy-message notice is-dismissible error">' ; } else { $ html .= '<div id="message" class="wpcw-form-legacy-message notice is-dismissible updated fade">' ; } $ html .= " <p><strong> $ message </strong></p></div> " ; return $ html ; }
Shows a status or error message for the user using the standard Wordpress admin format.
Shows a status or error message for the user using the standard Wordpress admin format .