apply_filters( 'learndash_quiz_info_paged', int $paged )
Filters paged query argument for quiz info.
Description #
Parameters #
- $paged
-
(int) Number of Pages.
Return #
(int)
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_quiz_info_paged filter.
*/
add_filter(
'learndash_quiz_info_paged',
function( $paged ) {
// May add any custom logic using $paged.
// Always return $paged.
return $paged;
}
);
Changelog #
| Version | Description |
|---|---|
| 2.5.4 | Introduced. |