apply_filters( 'learndash_quiz_cours_post_options', array $query_options, array $settings )
Filters course quiz query arguments.
Description #
Parameters #
- $query_options
-
(array) Query arguments.
- $settings
-
(array) Quiz settings.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_quiz_cours_post_options filter. */ add_filter( 'learndash_quiz_cours_post_options', function( $query_options, $settings ) { // May add any custom logic using $query_options, $settings. // Always return $query_options. return $query_options; }, 10, 2 );
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |