How to Show Thumbnail from YouTube URL?

[php]

$url = “https://www.youtube.com/watch?v=N4mEzFDjqtA”;

$queryString = parse_url($url, PHP_URL_QUERY);

parse_str($queryString, $params);

$v = $params[‘v’];

//DISPLAY THE IMAGE
if(strlen($v)>0){
echo ““;
}

[/php]

How to Hide VC Menu from Admin Dashboard

Write the code on functions.php

[php]
function vc_menu_page_removing() {
remove_menu_page( ‘vc-general’ ); // vc menu slug
}

add_action( ‘admin_menu’, ‘vc_menu_page_removing’ );
[/php]

How to Move Comment Textarea Bottom in WordPress

To move the Textarea field of comment form in WordPress, write the code in functions.php

[php]

function neon_move_comment_field_to_bottom( $fields ) {
$comment_field = $fields[‘comment’];
unset( $fields[‘comment’] );
$fields[‘comment’] = $comment_field;
return $fields;
}

add_filter( ‘comment_form_fields’, ‘neon_move_comment_field_to_bottom’ );

[/php]