public/wordpress/wp-content/plugins/wp-courseware/includes/functions/notices.php
/**
 * Print a Notice.
 *
 * @since 4.3.0
 *
 * @param string $message The text to display in the notice.
 * @param string $notice_type Optional. The singular name of the notice type - either error, success or notice.
 */
Print a Notice.

@param string $message The text to display in the notice.
@param string $notice_type Optional. The singular name of the notice type - either error, success or notice.
Print a Notice . @param string $message The text to display in the notice . @param string $notice_type Optional . The singular name of the notice type - either error success or notice .
function wpcw_print_notice( $message, $notice_type = 'success' ) {
	wpcw_get_template( "notices/{$notice_type}.php", array(
		'messages' => array( apply_filters( 'wpcw_add_' . $notice_type, $message ) ),
	) );
}
function wpcw_print_notice ( $ message , $ notice_type = 'success' ) { wpcw_get_template ( " notices/ { $ notice_type } .php " , array ( 'messages' => array ( apply_filters ( 'wpcw_add_' . $ notice_type , $ message ) ) , ) ) ; }
Print a Notice.
Print a Notice .