# depicter/1.3.3/vendor/averta/wordpress/src/Utility/Escape.php

Depicter — Popup &amp; Slider Builder, version 1.3.3. 92 lines.

- Page: https://pluginprobe.com/plugins/depicter/1.3.3/code/vendor/averta/wordpress/src/Utility/Escape.php
- Raw: https://pluginprobe.com/plugins/depicter/1.3.3/raw/vendor/averta/wordpress/src/Utility/Escape.php
- Modified: 2022-06-01T06:26:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/depicter/1.3.3/code/vendor/averta/wordpress/src/Utility/Escape.php#L10-L20`.

```php
<?php
namespace Averta\WordPress\Utility;


class Escape
{
    /**
     * Escape HTML.
     *
     * @param string $input
     *
     * @return string
     */
    public static function html( $input )
    {
        return esc_html( $input );
    }

    /**
     * Escape Attribute.
     *
     * @param string $input
     *
     * @return string
     */
    public static function attribute( $input )
    {
        return esc_attr( $input );
    }

    /**
     * Escape URL.
     *
     * @param string $input
     *
     * @return string
     */
    public static function url( $input )
    {
        return esc_url( $input );
    }

    /**
     * Escape SQL.
     *
     * @param string $input
     *
     * @return string
     */
    public static function sql( $input )
    {
        return esc_sql( $input );
    }

    /**
     * Escape Inline Javascript.
     *
     * @param string $input
     *
     * @return string
     */
    public static function js( $input )
    {
        return esc_js( $input );
    }

    /**
     * Escape Inline Javascript.
     *
     * @param string $input
     *
     * @return string
     */
    public static function textarea( $input )
    {
        return esc_textarea( $input );
    }

    /**
     * Escape post content.
     *
     * @param string $input
     *
     * @return string
     */
    public static function content( $input )
    {
        return wp_kses_post( $input );
    }

}

```
