2017 © Pedro Peláez
 

library wp-sanitize

WordPress transliterate post slugs and media file names

image

aginev/wp-sanitize

WordPress transliterate post slugs and media file names

  • Thursday, March 22, 2018
  • by aginev
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Transliterate WordPress post slugs and media file names

If you are dealing with content data have non Ascii character like Bulgarian, Russian, German etc. and want to have all characters transliterated in slugs and file names you can use this package., (*1)

Install

composer require aginev/wp-sanitize

Usage

Transliterate post slugs

wp_sanitize_title();
// Имало едно време в Мексико -> imalo-edno-vreme-v-meksiko

Transliterate media library file names

wp_sanitize_filenames();
// Имало едно време в Мексико.jpg -> imalo-edno-vreme-v-meksiko.jpg

License

Everything in this repository is MIT License unless otherwise specified., (*2)

MIT © 2018 Atanas Ginev, (*3)

The Versions

22/03 2018

dev-master

9999999-dev https://aginev.com

WordPress transliterate post slugs and media file names

  Sources   Download

MIT

The Requires

 

by Atanas Ginev

aginev transliterate-wordpress-slugs-and-media-file-names

22/03 2018

0.0.2

0.0.2.0 https://aginev.com

WordPress transliterate post slugs and media file names

  Sources   Download

MIT

The Requires

 

by Atanas Ginev

aginev transliterate-wordpress-slugs-and-media-file-names

22/03 2018

0.0.1

0.0.1.0 https://aginev.com

WordPress transliterate post slugs and media file names

  Sources   Download

MIT

The Requires

 

by Atanas Ginev

aginev transliterate-wordpress-slugs-and-media-file-names