• Hi,

    I don’t know what is the use of Transient options, however, the WP-Optimize plugin offers to simply remove expired ones.

    Also, between the two plugins, WP Optimize reports less transient options in total compared to WP-Sweep. Why is that?

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Lester Chan

    (@gamerz)

    I am not sure how WP Optimize works but for WP-Sweep it uses this query
    $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(option_id) FROM $wpdb->options WHERE option_name LIKE(%s)", '%_transient_%' ) ); to get all the transient. It removes all and not only those that expires.

Viewing 1 replies (of 1 total)
  • The topic ‘Option to clean only Expired transients, relevant?’ is closed to new replies.