Add Page Template Column on Admin Page Table

/*
 * Add Page Template Column on Admin Page Table
 */
function asiq_page_column_views( $defaults ) {
	$defaults['page-layout'] = __( 'Template' );
	
	return $defaults;
}

add_filter( 'manage_pages_columns', 'asiq_page_column_views' );

function asiq_page_custom_column_views( $column_name, $id ) {
	if ( $column_name === 'page-layout' ) {
		$set_template = get_post_meta( get_the_ID(), '_wp_page_template', true );
		if ( $set_template == 'default' ) {
			echo 'Default';
		}
		$templates = get_page_templates();
		ksort( $templates );
		foreach ( array_keys( $templates ) as $template ) {
			if ( $set_template == $templates[ $template ] ) {
				echo $template;
			}
		}
	}
}

add_action( 'manage_pages_custom_column', 'asiq_page_custom_column_views', 5, 2 );

Show Custom Message After Posting Comment

/*
 * Show Custom Message After post Comment.
 */

function ar_set_comment_cookies( $comment, $user ) {
	setcookie( 'ta_comment_wait_approval', '1', 0, '/' );
}
add_action( 'set_comment_cookies', 'ar_set_comment_cookies', 10, 2 );

function ar_comment_sent_message() {
	if ( isset( $_COOKIE['ta_comment_wait_approval'] ) && $_COOKIE['ta_comment_wait_approval'] === '1' ) {
		setcookie( 'ta_comment_wait_approval', '0', 0, '/' );

		function ar_show_comment_mesg() {
			echo "<p id='wait_approval'><strong>Your comment has been sent successfully & Waiting for Approval.</strong></p>";
		}
		add_action( 'comment_form_before', 'ar_show_comment_mesg' );
	}
}
add_action( 'init', 'ar_comment_sent_message' );

function ar_comment_post_redirect( $location, $comment ) {
	$location = get_permalink( $comment->comment_post_ID ) . '#wait_approval';

	return $location;
}
add_filter( 'comment_post_redirect', 'ar_comment_post_redirect', 10, 2 );