# merchant/2.3.2/admin/classes/class-merchant-admin-utils.php

Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together &amp; More for WooCommerce – Merchant, version 2.3.2. 43 lines.

- Page: https://pluginprobe.com/plugins/merchant/2.3.2/code/admin/classes/class-merchant-admin-utils.php
- Raw: https://pluginprobe.com/plugins/merchant/2.3.2/raw/admin/classes/class-merchant-admin-utils.php
- Modified: 2026-09-17T17:48:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/merchant/2.3.2/code/admin/classes/class-merchant-admin-utils.php#L10-L20`.

```php
<?php
/**
 * Merchant Admin Utils Functions.
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

/**
 * SVG - wp_kses.
 * Allows to svg in wp_kses.
 */
if ( ! function_exists( 'merchant_get_svg_args' ) ) {
	function merchant_get_svg_args() {

		return array(
			'svg'       => array(
				'fill'    => true,
				'class'   => true,
				'xmlns'   => true,
				'width'   => true,
				'height'  => true,
				'viewbox' => true,
			),
			'rect'      => array(
				'fill'    => true,
				'width'   => true,
				'height'  => true,
				'rx'      => true,
			),
			'title'     => array(
				'fill'    => true,
				'title'   => true,
			),
			'path'      => array(
				'fill'    => true,
				'd'       => true,
			),
		);
	}
}

```
