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 Description


Parameters Parameters

true True to call wp_safe_redirect().

$location

The URL to redirect the user to.

$status

The HTTP Status to set. Default 302.

$context

Unique string provided by the caller to help filter conditions.


Top ↑

Source Source

File: includes/ld-misc-functions.php


Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.