edd_sanitize_key( string $key )

Sanitizes a string key for EDD Settings


Description Description

Keys are used as internal identifiers. Alphanumeric characters, dashes, underscores, stops, colons and slashes are allowed


Parameters Parameters

$key

(Required) String key


Top ↑

Return Return

(string) Sanitized key


Top ↑

Source Source

File: includes/formatting.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.