astra_get_blog_posts_per_page()
Get Astra blog posts per page count.
Description
Search / Blog.
Return
(int) $blog_layout.
Source
File: inc/extras.php
function astra_get_blog_posts_per_page() { return ( is_search() && astra_get_option( 'ast-search-results-per-page' ) ) ? astra_get_option( 'ast-search-results-per-page' ) : astra_get_option( 'blog-post-per-page' ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |