Provides a function to create a safe transient name which won't get truncated without you knowing.
Author: | Peter Coughlin (profile at wordpress.org) |
WordPress version required: | 2.8 |
WordPress version tested: | 3.5.1 |
Plugin version: | 0.2 |
Added to WordPress repository: | 27-01-2013 |
Last updated: | 29-01-2013
Warning! This plugin has not 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.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://petercoughlin.com/ |
Total downloads: | 412 |
![]() Click to start download |
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' ); ?>