astra_custom_excerpt_length( int $length )
Blog Custom excerpt length.
Description
Parameters
- $length
-
(int) (Required) Length.
Return
(int)
Source
File: inc/blog/blog.php
function astra_custom_excerpt_length( $length ) { $blog_layout = astra_get_blog_layout(); return 'blog-layout-4' === $blog_layout ? 20 : $length; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |