oont-contents/plugins/elementor/modules/checklist/checklist-module-interface.php
2025-02-08 15:10:23 +01:00

28 lines
710 B
PHP

<?php
namespace Elementor\Modules\Checklist;
use Elementor\Core\Isolation\Wordpress_Adapter;
use Elementor\Core\Isolation\Elementor_Adapter;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
interface Checklist_Module_Interface {
public function get_name() : string;
public function is_experiment_active() : bool;
public function get_user_progress_from_db() : array;
public function get_step_progress( $step_id ) : ?array;
public function set_step_progress( $step_id, $step_progress ) : void;
public function get_steps_manager() : Steps_Manager;
public function get_wordpress_adapter() : Wordpress_Adapter;
public function get_elementor_adapter() : Elementor_Adapter;
}