the_excerpt

The timeline below displays how wordpress function the_excerpt has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Displays the post excerpt.
 *
 * @since 0.71
 */
function the_excerpt()
{
    /**
     * Filters the displayed post excerpt.
     *
     * @since 0.71
     *
     * @see get_the_excerpt()
     *
     * @param string $post_excerpt The post excerpt.
     */
    echo apply_filters('the_excerpt', get_the_excerpt());
}

WordPress Version: 4.6

/**
 * Display the post excerpt.
 *
 * @since 0.71
 */
function the_excerpt()
{
    /**
     * Filters the displayed post excerpt.
     *
     * @since 0.71
     *
     * @see get_the_excerpt()
     *
     * @param string $post_excerpt The post excerpt.
     */
    echo apply_filters('the_excerpt', get_the_excerpt());
}

WordPress Version: 3.9

/**
 * Display the post excerpt.
 *
 * @since 0.71
 */
function the_excerpt()
{
    /**
     * Filter the displayed post excerpt.
     *
     * @since 0.71
     *
     * @see get_the_excerpt()
     *
     * @param string $post_excerpt The post excerpt.
     */
    echo apply_filters('the_excerpt', get_the_excerpt());
}

WordPress Version: 3.7

/**
 * Display the post excerpt.
 *
 * @since 0.71
 * @uses apply_filters() Calls 'the_excerpt' hook on post excerpt.
 */
function the_excerpt()
{
    echo apply_filters('the_excerpt', get_the_excerpt());
}