wp_embed_excerpt_attachment( string $content )
Filters the post excerpt for the embed template.
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
function wp_embed_excerpt_attachment( $content ) { if ( is_attachment() ) { return prepend_attachment( '' ); } return $content; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |