Browse: Home / Hooks /


apply_filters( 'learndash_essay_new_allowed_html',  array $allowed_tags )

Filters list of allowed html tags in essay content.

Description #

Used in allowed_html parameter of wp_kses function.

Parameters #


(array) An array of allowed HTML tags in essay content.

Source #

File: includes/quiz/ld-quiz-essays.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_essay_new_allowed_html filter.
	function( $allowed_tags ) {
		// May add any custom logic using $allowed_tags.

		// Always return $allowed_tags.
		return $allowed_tags;