| Server IP : 104.21.25.182 / Your IP : 216.73.217.93 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/public_html/wp-content/plugins/sfwd-lms/includes/deprecated/2.5.0/ |
Upload File : |
<?php
/**
* Deprecated functions from LD 2.5.0
* The functions will be removed in a later version.
*
* @package LearnDash\Deprecated
* @since 2.5.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! function_exists( 'leandash_redirect_post_location' ) ) {
/**
* Used when editing Lesson, Topic, Quiz or Question post items. This filter is needed to add
* the 'course_id' parameter back to the edit URL after the post is submitted (saved).
*
* @since 2.5.0
* @deprecated 2.5.0 Use {@see 'learndash_redirect_post_location'} instead.
*
* @param string $location Optional. Location. Default empty.
*/
function leandash_redirect_post_location( $location = '' ) {
if ( function_exists( '_deprecated_function' ) ) {
_deprecated_function( __FUNCTION__, '2.5.0', 'learndash_redirect_post_location()' );
}
return learndash_redirect_post_location( $location );
}
}