apply_filters( 'learndash_use_wp_safe_redirect', bool $call_wp_safe_redirect, string $location, int $status, string $context )
Filters to override using the WordPress function wp_safe_redirect().
Description #
Parameters #
- $call_wp_safe_redirect
-
(bool) Call wp_safe_redirect(). Default LEARNDASH_USE_WP_SAFE_REDIRECT constant value.
- $location
-
(string) The URL to redirect the user to.
- $status
-
(int) The HTTP Status to set. Default 302.
- $context
-
(string) Unique string provided by the caller to help filter conditions.
Source #
Changelog #
Version | Description |
---|---|
3.3.0.2 | Introduced. |