[ [ 'attribute' => 'class', 'compare' => '===', 'type' => 'attribute', 'value' => 'instagram-media', ], ], 'assets' => [], 'elements' => [ 'blockquote', ], 'regex' => '/
]+)>([\S\s]*)instagram\.com\/embed\.js"><\/script>/', ]; $overlay = new Replacement( $content ); $new_content = $overlay->get( $attributes ); if ( $new_content !== $content ) { Embed_Privacy::get_instance()->has_embed = true; $content = $new_content; } return $content; } }