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

apply_filters('sanitize_key') is found 1 times:

  • /wp-includes/formatting.php line 2186
    	 *
    	 * @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: