Warning: This method has been deprecated.

Automator_Functions::uap_sanitize( $data, string $type = 'text' )


Parameters Parameters

$data

(Required)

$type

(string) (Optional)

Default value: 'text'


Top ↑

Return Return

(string)


Source Source

File: src/core/lib/class-automator-functions.php

	public function uap_sanitize( $data, $type = 'text' ) {
		if ( defined( 'AUTOMATOR_DEBUG_MODE' ) && true === AUTOMATOR_DEBUG_MODE ) {
			_doing_it_wrong( 'uap_sanitize', 'Please use Automator()->utilities->automator_sanitize() instead.', 3.0 );
		}

		return $this->utilities->automator_sanitize( $data, $type );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0 Introduced.