wp_embed_excerpt_attachment

Advertisement

Summery Summery

Filters the post excerpt for the embed template.

Syntax Syntax

wp_embed_excerpt_attachment( string $content )

Description Description

Shows players for video and audio attachments.

Parameters Parameters

$content

(string) (Required) The current post excerpt.

Return Return

(string) The modified post excerpt.

Source Source

File: wp-includes/embed.php

/**
 * Filters the post excerpt for the embed template.
 *
 * Shows players for video and audio attachments.
 *
 * @since 4.4.0
 *

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.