• File: svg-attributes.php
  • Full Path: /home/slvgwrnz/public_html/.tmb/wp-includes/wp-content/plugins/svg-support/includes/svg-attributes.php
  • Date Modified: 02/03/2022 1:04 AM
  • File size: 408 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

class bodhi_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() );
	}
}