Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 423 Bytes

Slug.md

File metadata and controls

28 lines (19 loc) · 423 Bytes

Slug

  • Slug()

Validates whether the input is a valid slug.

v::slug()->isValid('my-wordpress-title'); // true
v::slug()->isValid('my-wordpress--title'); // false
v::slug()->isValid('my-wordpress-title-'); // false

Categorization

  • Strings

Changelog

Version Description
0.3.9 Created

See also: