diff --git src/bp-templates/bp-nouveau/includes/template-tags.php src/bp-templates/bp-nouveau/includes/template-tags.php
index 94b683022..fdd1f7f8f 100644
|
|
|
function bp_nouveau_pagination( $position ) { |
| 446 | 446 | $bottom_hook = ''; |
| 447 | 447 | $page_arg = $GLOBALS['requests_template']->pag_arg; |
| 448 | 448 | break; |
| | 449 | |
| | 450 | default: |
| | 451 | /** |
| | 452 | * Use this filter to define your custom pagination parameters. |
| | 453 | * |
| | 454 | * @since 6.0.0 |
| | 455 | * |
| | 456 | * @param array $value { |
| | 457 | * An associative array of pagination parameters. |
| | 458 | * @type string $pag_count Information about the pagination count. |
| | 459 | * eg: "Viewing 1 - 10 of 20 items". |
| | 460 | * @type string $pag_links The Pagination links. |
| | 461 | * @type string $page_arg The argument to use to pass the page number. |
| | 462 | * } |
| | 463 | * @param string $pagination_type Information about the pagination type. |
| | 464 | */ |
| | 465 | $pagination_params = apply_filters( 'bp_nouveau_pagination_params', |
| | 466 | array( |
| | 467 | 'pag_count' => '', |
| | 468 | 'pag_links' => '', |
| | 469 | 'page_arg' => '', |
| | 470 | ), |
| | 471 | $pagination_type |
| | 472 | ); |
| | 473 | |
| | 474 | list( $pag_count, $pag_links, $page_arg ) = array_values( $pagination_params ); |
| | 475 | break; |
| 449 | 476 | } |
| 450 | 477 | |
| 451 | 478 | $count_class = sprintf( '%1$s-%2$s-count-%3$s', $pagination_type, $screen, $position ); |