apply_filters( 'learndash_quiz_row_atts', string $attribute )
Filters quiz row attributes. Used while displaying a single quiz row.
Description #
Parameters #
- $attribute
-
(string) Quiz row attribute. The value is data-ld-tooltip if a user does not have access to quiz otherwise empty string.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_quiz_row_atts filter. */ add_filter( 'learndash_quiz_row_atts', function( $attribute ) { // May add any custom logic using $attribute. // Always return $attribute. return $attribute; } );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |