Hooks::filter_excerpt_length( int $length )
Filters the excerpt_length.
Contents
Parameters
- $length
-
(int) (Required) The excerpt length.
Return
(int) The modified excerpt length, if required.
Source
File: src/Tribe/Views/V2/Hooks.php
public function filter_excerpt_length( $length ) {
return $this->container->make( Template\Excerpt::class )->maybe_filter_excerpt_length( $length );
}
Changelog
| Version | Description |
|---|---|
| 4.9.10 | Introduced. |