This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Safe Transient Names

Description

Transient names can sometimes get truncated without you realising.

This plugin provides a simple function you can call which will ensure your transient names will always be short enough to avoid being truncated.

Usage: <?php $safe_transient_name = get_safe_transient_name( 'your_transient_name_which_might_be_too_long' ); ?>

Installation

  1. Upload the safe-transient-names folder to your /wp-content/plugins/ directory.

  2. Activate the “Safe Transient Names” plugin in your WordPress administration interface.

  3. Use <?php $safe_transient_name = get_safe_transient_name( 'your_transient_name' ); ?> anywhere in your code to get a safe name for your transient.

FAQ

Reserved for FAQ

Reserved for FAQ answer 🙂

Contributors & Developers

“Safe Transient Names” is open source software. The following people have contributed to this plugin.

Changelog

0.2

  • Added filter to change value of limit

0.1

  • Initial version