public/wordpress/wp-content/plugins/wp-courseware/includes/functions/admin.php
/**
 * Display One Off Admin Notice.
 *
 * @since 4.3.0
 *
 * @param string $message The notice message.
 * @param string $type The notice type.
 * @param bool $dismissable Is the notice dismissable.
 */
Display One Off Admin Notice.

@param string $message The notice message.
@param string $type The notice type.
@param bool $dismissable Is the notice dismissable.
Display One Off Admin Notice . @param string $message The notice message . @param string $type The notice type . @param bool $dismissable Is the notice dismissable .
function wpcw_display_admin_notice( $message, $type = 'warning', $dismissable = true ) {
	add_action( 'admin_notices', function () use ( $message, $type, $dismissable ) {
		wpcw_admin_notice( $message, $type, $dismissable );
	} );
}
function wpcw_display_admin_notice ( $ message , $ type = 'warning' , $ dismissable = true ) { add_action ( 'admin_notices' , function ( ) use ( $ message , $ type , $ dismissable ) { wpcw_admin_notice ( $ message , $ type , $ dismissable ) ; } ) ; }
Display One Off Admin Notice.
Display One Off Admin Notice .