Browse: Home / Hooks /


apply_filters( 'learndash_essay_permissions_redirect_url',  string $redirect_url )

Filters the URL to redirect a user if it does not have permission to view the essay.

Description #

Parameters #


(string) Redirect URL.

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_permissions_redirect_url filter.
	function( $redirect_url ) {
		// May add any custom logic using $redirect_url.

		// Always return $redirect_url.
		return $redirect_url;