sanitize_key

sanitize_key

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('sanitize_key') is found 1 times:

  • /wp-includes/formatting.php line 2186
    2182
    2183
    2184
    2185
    2186
    2187
    2188
    2189
    2190
    2191
    2192
         *
         * @param string $sanitized_key Sanitized key.
         * @param string $key           The key prior to sanitization.
         */
        return apply_filters( 'sanitize_key', $sanitized_key, $key );
    }
     
    /**
     * Sanitizes a string into a slug, which can be used in URLs or HTML attributes.
     *
     * By default, converts accent characters to ASCII characters and further

See this hook used in plugins: