Browse: Home / Hooks /


apply_filters( 'learndash_use_wp_safe_redirect',  bool ,  string $location,  int $status,  string $context )

Filters to override using the WordPress function wp_safe_redirect().

Description #

Parameters #

(bool) true True to call wp_safe_redirect().


(string) The URL to redirect the user to.


(int) The HTTP Status to set. Default 302.


(string) Unique string provided by the caller to help filter conditions.

Source #

File: includes/ld-misc-functions.php

Changelog #

Version Description Introduced.