[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.191.171.72: ~ $
<?php
/**
 * LearnDash step-related integration class.
 *
 * @since 1.0.5
 *
 * @package LearnDash\Elementor
 */

namespace LearnDash\Elementor;

/**
 * LearnDash step-related integration class.
 *
 * @since 1.0.5
 */
class Step {
	/**
	 * Filter 'learndash_previous_step_completed' hook.
	 *
	 * @since 1.0.5
	 *
	 * @param bool $completed Original step completed value.
	 * @param int  $object_id Step object ID.
	 * @param int  $user_id   WP_User ID.
	 *
	 * @return bool Step completed value.
	 */
	public function filter_previous_step_completed( $completed, $object_id, $user_id ): bool {
		if ( learndash_can_user_bypass( $user_id ) ) {
			$completed = true;
		}

		return $completed;
	}
}

Filemanager

Name Type Size Permission Actions
Admin Folder 0755
Documents Folder 0755
Settings Folder 0755
Shortcodes Folder 0755
Utilities Folder 0755
Widgets Folder 0755
App.php File 238 B 0644
Compatibility.php File 521 B 0644
Container.php File 244 B 0644
Dependency_Checker.php File 6.84 KB 0644
Documents.php File 1.2 KB 0644
Editor.php File 525 B 0644
Elements.php File 650 B 0644
Frontend.php File 6.78 KB 0644
Plugin.php File 2.56 KB 0644
Provider.php File 327 B 0644
Step.php File 696 B 0644
Templates.php File 3.63 KB 0644
Utilities.php File 1.32 KB 0644
Widgets.php File 3.19 KB 0644