embed_maybe_make_link WordPress Filter Hook

The embed_maybe_make_link Wordpress hook is used to filter the content of a post before it is displayed. This hook is used to automatically create links to certain content, such as images or videos.

apply_filters( 'embed_maybe_make_link', string $output, string $url ) #

Filters the returned, maybe-linked embed URL.


Parameters

$output

(string)The linked or original URL.

$url

(string)The original URL.


Top ↑

Source

File: wp-includes/class-wp-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.