apply_filters( 'learndash_assignment_permissions_redirect_url', string $redirect_url )
Filters Assignment permission redirect URL.
Description #
Parameters #
- $redirect_url
-
(string) Redirect URL.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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; } );