| Server IP : 172.67.134.116 / Your IP : 216.73.217.68 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/ |
Upload File : |
<?php
/**
* Functions for uninstall LearnDash
*
* @since 2.5.0
*
* @package LearnDash
*/
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
die;
}
require_once plugin_dir_path( __FILE__ ) . 'vendor-prefixed/autoload.php';
/**
* Remove our Multisite support file(s) to the /wp-content/mu-plugins directory.
*/
$learndash_wpmu_plugin_dir = ( defined( 'WPMU_PLUGIN_DIR' ) && defined( 'WPMU_PLUGIN_URL' ) ) ? WPMU_PLUGIN_DIR : trailingslashit( WP_CONTENT_DIR ) . 'mu-plugins';
if ( is_writable( $learndash_wpmu_plugin_dir ) ) {
$learndash_wpmu_plugin_dir_file = trailingslashit( $learndash_wpmu_plugin_dir ) . 'learndash-multisite.php';
if ( file_exists( $learndash_wpmu_plugin_dir_file ) ) {
unlink( $learndash_wpmu_plugin_dir_file );
}
}
/**
* Fires on plugin uninstall.
*/
do_action( 'learndash_uninstall' );
/**
* Uninstalls Telemetry.
*
* @since 4.5.0
*/
StellarWP\Learndash\StellarWP\Telemetry\Uninstall::run( 'learndash' );