*/ private static $unslashingFunctions = array( 'stripslashes_deep' => true, 'stripslashes_from_strings_only' => true, 'wp_unslash' => true, ); /** * Retrieve a list of the unslashing functions. * * @since 3.0.0 * * @return array */ public static function get_functions() { return self::$unslashingFunctions; } /** * Check if a particular function is regarded as a unslashing function. * * @since 3.0.0 * * @param string $functionName The name of the function to check. * * @return bool */ public static function is_unslashing_function( $functionName ) { return isset( self::$unslashingFunctions[ strtolower( $functionName ) ] ); } }