Created
July 16, 2014 02:08
-
-
Save gabeshaughnessy/50259729ad2a9d4616d3 to your computer and use it in GitHub Desktop.
Delete all the transients from the options table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
global $wpdb; | |
$wpdb->query("DELETE FROM `wp_options` WHERE `option_name` LIKE ('_transient_%')"); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment