wphooks.info - get_the_excerpt

get_the_excerpt

(trunk - 5.0-alpha-43304)

The hook occurs in the following file:

wp-includes/post-template.php:
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
	/**
	 * Filters the retrieved post excerpt.
	 *
	 * @since 1.2.0
	 * @since 4.5.0 Introduced the `$post` parameter.
	 *
	 * @param string $post_excerpt The post excerpt.
	 * @param WP_Post $post Post object.
	 */
	return apply_filters( 'get_the_excerpt', $post->post_excerpt, $post );
}

/**
 * Determines whether the post has a custom excerpt.
 *
 * For more information on this and similar theme functions, check out
 * the {@link https://developer.wordpress.org/themes/basics/conditional-tags/
 * Conditional Tags} article in the Theme Developer Handbook.
 *