Astra_Ext_Blog_Pro_Markup::custom_excerpt_length( int $length )
Excerpt count.
Description
Parameters
- $length
-
(int) (Required) default count of words.
Return
(int) count of words
Source
File: addons/blog-pro/classes/class-astra-ext-blog-pro-markup.php
public function custom_excerpt_length( $length ) { $excerpt_length = astra_get_option( 'blog-excerpt-count' ); if ( '' != $excerpt_length ) { $length = $excerpt_length; } return $length; }
Expand full source code Collapse full source code View on Trac