learndash_assignment_permissions_redirect_url

apply_filters( 'learndash_assignment_permissions_redirect_url',  string $redirect_url )

Filters Assignment permission redirect URL.


Description #


Parameters #

$redirect_url

(string) Redirect URL.


Source #

File: includes/ld-assignment-uploads.php


Examples #

 <?php
/**
 * Example usage for learndash_assignment_permissions_redirect_url filter.
 */
add_filter(
	'learndash_assignment_permissions_redirect_url',
	function( $redirect_url ) {
		// May add any custom logic using $redirect_url.

		// Always return $redirect_url.
		return $redirect_url;
	}
);