$this->wp_get_option( 'woocommerce_admin_customize_store_completed', 'no' ), 'woocommerce_task_list_tracked_completed_actions' => $this->wp_get_option( 'woocommerce_task_list_tracked_completed_actions', array() ), ) ); } /** * Get the name of the step. * * @return string */ public function get_step_name() { return 'setOptions'; } /** * Get the alias for this exporter. * * @return string */ public function get_alias() { return 'setWCTaskOptions'; } /** * Return label used in the frontend. * * @return string */ public function get_label() { return __( 'Task Configurations', 'woocommerce' ); } /** * Return description used in the frontend. * * @return string */ public function get_description() { return __( 'Includes the task configurations for WooCommerce.', 'woocommerce' ); } /** * Check if the current user has the required capabilities for this step. * * @return bool True if the user has the required capabilities. False otherwise. */ public function check_step_capabilities(): bool { return current_user_can( 'manage_woocommerce' ); } }