Warning: This method has been deprecated.
Automator_Functions::uap_sanitize( $data, $type = 'text' )
Contents
Parameters Parameters
- $data
-
(Required)
- $type
-
(Optional)
Default value: 'text'
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 ); }
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
3.0 | Introduced. |