This hook has been deprecated.
apply_filters_deprecated( 'learndash-quiz-essay-upload-link', string $upload_link )
Filters quiz essay upload link HTML output.
Description #
Parameters #
- $upload_link
-
(string) Essay upload link HTML output.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_courseinfo_quizzes filter. */ add_filter( 'learndash_courseinfo_quizzes', function ( $quizzes = array(), $shortcode_atts = array() ) { // Example 1: Remove the Quiz ID 4528 from the quizzes array. $quizzes = array_diff( $quizzes, array( 4528 ) ); // Always return $quizzes. return $quizzes; }, 30, 2 );
Changelog #
Version | Description |
---|---|
4.5.0 | Introduced. This hook has been deprecated. |