ap_questions_the_pagination( integer|false $paged = false )
Description #
Output questions page pagination.
Parameters #
- $pagedinteger | false (Optional) Current paged value. Default value: false
Source #
File: includes/question-loop.php
function ap_questions_the_pagination( $paged = false ) { if ( is_front_page() ) { $paged = get_query_var( 'page' ); } elseif ( get_query_var( 'ap_paged' ) ) { $paged = get_query_var( 'ap_paged' ); } elseif ( get_query_var( 'paged' ) ) { $paged = get_query_var( 'paged' ); } ap_pagination( $paged, anspress()->questions->max_num_pages ); }
Expand full source code Collapse full source code View on GitHub: includes/question-loop.php:87
Add your comment