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' );
}

Changelog

Changelog
Version Description
4.6.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.