PHP 8.0.30
Preview: html-admin-dashboard-setup.php Size: 2.00 KB
/home/certprox/template.certproxywizard.com/wp-content/plugins/woocommerce/includes/admin/views/html-admin-dashboard-setup.php

<?php
/**
 * Admin View: Dashboard - Finish Setup
 *
 * @package WooCommerce\Admin
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div class="dashboard-widget-finish-setup" data-current-step="<?php echo esc_html( $step_number - 1 ); ?>" data-total-steps="<?php echo esc_html( $tasks_count ); ?>">
	<span class='progress-wrapper'>
		<svg class="circle-progress" width="17" height="17" version="1.1" xmlns="http://www.w3.org/2000/svg">
		  <circle r="6.5" cx="10" cy="10" fill="transparent" stroke-dasharray="40.859" stroke-dashoffset="0"></circle>
		  <circle class="bar" r="6.5" cx="190" cy="10" fill="transparent" stroke-dasharray="40.859" stroke-dashoffset="<?php echo esc_attr( $circle_dashoffset ); ?>" transform='rotate(-90 100 100)'></circle>
		</svg>
		<span><?php esc_html_e( 'Step', 'woocommerce' ); ?> <?php echo esc_html( $step_number ); ?> <?php esc_html_e( 'of', 'woocommerce' ); ?> <?php echo esc_html( $tasks_count ); ?></span>
	</span>

	<div class="description">
		<div>
			<?php esc_html_e( 'You\'re almost there! Once you complete store setup you can start receiving orders.', 'woocommerce' ); ?>
			<div><a href='<?php echo esc_attr( $button_link ); ?>' class='button button-primary'><?php esc_html_e( 'Start selling', 'woocommerce' ); ?></a></div>
		</div>
		<img src="<?php echo esc_url( WC()->plugin_url() ); ?>/assets/images/dashboard-widget-setup.png" />
	</div>
	<div class="clear"></div>
</div>

<script type="text/javascript">
	/*global jQuery */
	(function( $ ) {
		const widget = $( '.dashboard-widget-finish-setup' );
		const currentStep = widget.data( 'current-step' );
		const totalSteps = widget.data( 'total-steps' );

		$( function() {
			window.wcTracks.recordEvent( 'wcadmin_setup_widget_view', {
				completed_tasks: currentStep,
				total_tasks: totalSteps,
			} );
		});


		$( '.dashboard-widget-finish-setup a' ).on( 'click', function() {
			window.wcTracks.recordEvent( 'wcadmin_setup_widget_click', {
				completed_tasks: currentStep,
				total_tasks: totalSteps,
			} );
		});
	})( jQuery );
</script>

Directory Contents

Dirs: 0 × Files: 32

Name Size Perms Modified Actions
2.00 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.08 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
5.55 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
2.39 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.85 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
2.17 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
59.16 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
2.23 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.25 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
6.53 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
13.44 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.05 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.57 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
452 B lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.18 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
732 B lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.68 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.15 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.28 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.20 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.17 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
618 B lrw-r--r-- 2026-06-08 11:45:23
Edit Download
848 B lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.15 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.68 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.37 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
660 B lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.12 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
1.03 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
933 B lrw-r--r-- 2026-06-08 11:45:23
Edit Download
8.38 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download
4.10 KB lrw-r--r-- 2026-06-08 11:45:23
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).