the_excerpt_embed()
Displays the post excerpt for the embed template.
Intended to be used in 'The Loop'.
Hooks from the function
Return
null
. Ничего (null).
Usage
the_excerpt_embed();
Changelog
Since 4.4.0 | Introduced. |
the_excerpt_embed() the excerpt embed code WP 6.3
function the_excerpt_embed() { $output = get_the_excerpt(); /** * Filters the post excerpt for the embed template. * * @since 4.4.0 * * @param string $output The current post excerpt. */ echo apply_filters( 'the_excerpt_embed', $output ); }