/home/ytevagd/public_html/wp-content/themes/flatsome/inc/functions/function-site-health.php
<?php

/**
 * Adds site status tests for Flatsome registration.
 *
 * @param array $tests An associative array of tests.
 * @return array
 */
function flatsome_site_status_tests( $tests ) {
	$tests['direct']['flatsome_registration'] = array(
		'label' => __( 'Flatsome registration', 'flatsome' ),
		'test'  => 'flatsome_site_health_registration_test',
	);

	return $tests;
}
add_filter( 'site_status_tests', 'flatsome_site_status_tests' );

/**
 * Performs the registration status test.
 *
 * @return array
 */
function flatsome_site_health_registration_test() {
	if ( is_a( flatsome_envato()->registration, 'Flatsome_Envato_Registration' ) ) {
		return array(
			'test'        => 'flatsome_token',
			'label'       => __( 'You should register Flatsome with a purchase code', 'flatsome' ),
			'status'      => 'critical',
			'badge'       => array(
				'label' => __( 'Security', 'flatsome' ),
				'color' => 'blue',
			),
			'description' => sprintf(
				'<p>%s</p>',
				__( 'Your copy of Flatsome is registered with a personal Envato token. Please register Flatsome with a purchase code instead to ensure your site receives updates in the future.', 'flatsome' )
			),
			'actions'     => sprintf(
				'<p><a href="%s">%s</a></p>',
				esc_url( admin_url( 'admin.php?page=flatsome-panel' ) ),
				__( 'Register with a purchase code now', 'flatsome' )
			),
		);
	}

	$errors = flatsome_envato()->registration->get_errors();
	$result = array(
		'test'        => 'flatsome_registration',
		'label'       => __( 'Flatsome is registered', 'flatsome' ),
		'status'      => 'good',
		'badge'       => array(
			'label' => __( 'Security', 'flatsome' ),
			'color' => 'blue',
		),
		'description' => sprintf( '<p>%s</p>', __( 'Register Flatsome to receive updates.', 'flatsome' ) ),
		'actions'     => '',
	);

	if ( ! flatsome_envato()->registration->is_registered() ) {
		$result['status']  = 'critical';
		$result['label']   = __( 'Flatsome is not registered', 'flatsome' );
		$result['actions'] = sprintf(
			'<p><a href="%s">%s</a></p>',
			esc_url( admin_url( 'admin.php?page=flatsome-panel' ) ),
			__( 'Register now', 'flatsome' )
		);
	} elseif ( ! empty( $errors ) ) {
		$result['status']      = 'critical';
		$result['label']       = __( 'Flatsome was unable to receive the latest update', 'flatsome' );
		$result['description'] = sprintf( '<p>%s</p>', implode( '</p><p>', $errors ) );
		?>
		<p>
			<a href="<?php echo esc_url_raw( admin_url( 'admin.php?page=flatsome-panel' ) ); ?>">
				<?php esc_html_e( 'Manage registration', 'flatsome' ); ?>
			</a>
		</p>
		<p>
			<a href="<?php echo esc_url_raw( UXTHEMES_ACCOUNT_URL ); ?>" target="_blank" rel="noopener">
				<?php esc_html_e( 'Manage your licenses', 'flatsome' ); ?>
			</a>
		</p>
		<?php
		$result['actions'] = ob_get_clean();
	}

	return $result;
}
CVARA – NHẬP KHẨU PHÁP – GIÚP PHÁT TRIỂN CHIỀU CAO VÀ PHÒNG CHỐNG LOÃNG XƯƠNG. - Giải pháp chăm sóc tại nhà Việt Nam

CVARA – NHẬP KHẨU PHÁP – GIÚP PHÁT TRIỂN CHIỀU CAO VÀ PHÒNG CHỐNG LOÃNG XƯƠNG.

390,000

CVARA – NHẬP KHẨU PHÁP – BỔ SUNG CALCI NANO VITAMIN D3 VÀ MK7 – GIÚP PHÁT TRIỂN CHIỀU CAO VÀ PHÒNG CHỐNG LOÃNG XƯƠNG.
CVARA – NHẬP KHẨU PHÁP – BỔ SUNG CALCI NANO VITAMIN D3 VÀ MK7 – GIÚP PHÁT TRIỂN CHIỀU CAO VÀ PHÒNG CHỐNG LOÃNG XƯƠNG

– Bổ sung Canxi nhằm hỗ trợ phát triển chiều cao cho thanh thiếu niên trong độ tuổi phát triển chiều cao, giúp xương chắc khỏe, phòng ngừa còi xương ở trẻ em

– Chống loãng xương, giúp phục hồi xương gãy, giảm đau lưng cho người lớn, ngăn chặn các hiện tượng thoái hóa, giòn xương do thiếu canxi trong máu, giúp cơ thể khỏe mạnh

– Giảm tình trạng viêm khớp, thoái hóa khớp. Cung cấp canxi, vitamin D3 cho phụ nữ có thai và cho con bú. Tăng cường và phát triển hệ xương ở thai nhi

– Giảm tê bì chân tay, chuột rút. Kết hợp hỗ trợ điều trị thiếu canxi huyết

CAM KẾT HÀNG CHÍNH HÃNG – GIÁ CẢ HỢP LÝ – TIẾT KIỆM 5-7% – GIAO HÀNG TOÀN QUỐC.