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

(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