See All Existing Transients in WordPress

This will display an array of all existing transients and their values on your WordPress site.

global $wpdb;

$transients = $wpdb->get_results(
             "SELECT option_name AS name, option_value AS value FROM $wpdb->options 
              WHERE option_name LIKE '_transient_%'"
          );

?><pre><?php echo print_r($transients, true); ?></pre><?php 

See more: ,

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]