embed_googlevideo WordPress Filter Hook

The Google Video Embedder is a WordPress plugin that allows you to embed Google Videos in your WordPress posts and pages. This plugin is simple to use and does not require any coding knowledge. Just copy and paste the URL of the Google Video you want to embed into your post or page, and the plugin will do the rest.

apply_filters( 'embed_googlevideo', string $html, array $matches, array $attr, string $url, array $rawattr ) #

Filter the Google Video embed output.


Parameters

$html

(string)Google Video HTML embed markup.

$matches

(array)The RegEx matches from the provided regex.

$attr

(array)An array of embed attributes.

$url

(string)The original URL that was matched by the regex.

$rawattr

(array)The original unmodified attributes.


Top ↑

Source

File: wp-includes/embed.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.