Home / Admin / Set max-video-preview to 0
Duplicate Snippet

Embed Snippet on Your Site

Set max-video-preview to 0

This snippet sets max-video-preview robots meta tag to 0

20+
Code Preview
php
<?php
add_filter( 'aioseo_robots_meta', 'aioseo_filter_robots_meta' );
function aioseo_filter_robots_meta( $attributes ) {
   $attributes['max-video-preview']  = 'max-video-preview: 0';
   return $attributes;
}

Comments

Add a Comment