HEX
Server: Apache/2.4.53 (Debian)
System: Linux 81f031f4d056 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64
User: www-data (33)
PHP: 7.4.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/safe-svg/includes/safe-svg-attributes.php
<?php
/**
 * Safe SVG allowed attributes.
 *
 * @package safe-svg
 */

namespace SafeSvg\SafeSvgAttr;

/**
 * SVG Allowed Attributes lass.
 */
class safe_svg_attributes extends \enshrined\svgSanitize\data\AllowedAttributes {

	/**
	 * Returns an array of attributes
	 *
	 * @return array
	 */
	public static function getAttributes() {

		/**
		 * var  array Attributes that are allowed.
		 */
		return apply_filters( 'svg_allowed_attributes', parent::getAttributes() );
	}
}