Title: [Plugin: WP-Table Reloaded] Remove version string from css url
Last modified: August 20, 2016

---

# [Plugin: WP-Table Reloaded] Remove version string from css url

 *  Resolved [vefali](https://wordpress.org/support/users/vefali/)
 * (@vefali)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-remove-version-string-from-css-url/)
 * how can I remove plugin version from css url?
 * wp-content/plugins/wp-table-reloaded/css/plugin.css?ver=1.9.3
 * [http://wordpress.org/extend/plugins/wp-table-reloaded/](http://wordpress.org/extend/plugins/wp-table-reloaded/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-remove-version-string-from-css-url/#post-3017653)
 * Hi,
 * you could use the filter hook “wp_table_reloaded_url_css_plugin” for this, which
   gets passed this URL.
 * However, can you explain why you would want to do this? I don’t see a reason 
   for this…
 * Regards,
    Tobias
 *  Thread Starter [vefali](https://wordpress.org/support/users/vefali/)
 * (@vefali)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-remove-version-string-from-css-url/#post-3017658)
 * I am testing my site via google pagespeed. There is some warning. One of them“
   LeverageProxyCaching”
 * “
    wp-content/plugins/wp-table-reloaded/css/plugin.css?ver=1.9.3 “
 * Can you help me how to write filter hook which mentioned?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-remove-version-string-from-css-url/#post-3017660)
 * Hi,
 * I wouldn’t worry too much about this warning. This method with the version string
   is common practice in WordPress, and it actually serves a purpose: It guarantees
   that you get the latest version of the file, after the plugin is updated.
 * However, if you really want to remove the version, please try adding this to 
   the “functions.php” in your theme:
 *     ```
       function wp_table_reloaded_remove_css_version( $url ) {
         $url = substr( $url, 0, strpos( $url, '.css' ) + 4 );
       }
       add_filter( 'wp_table_reloaded_url_css_plugin', 'wp_table_reloaded_remove_css_version' );
       add_filter( 'wp_table_reloaded_url_css_datatables', 'wp_table_reloaded_remove_css_version' );
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [vefali](https://wordpress.org/support/users/vefali/)
 * (@vefali)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-remove-version-string-from-css-url/#post-3017707)
 * thank you for helping. it is working.
 * My site google pagespeed score 95/100. google adsense and analytics code prevent
   to get higher score. 🙂
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-remove-version-string-from-css-url/#post-3017713)
 * Hi,
 * nice. Good to hear that this worked.
 * Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: WP-Table Reloaded] Remove version string from css url’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-table-reloaded_f7dcd3.svg)
 * [WP-Table Reloaded](https://wordpress.org/plugins/wp-table-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-table-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-table-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-table-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-table-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-table-reloaded/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-remove-version-string-from-css-url/#post-3017713)
 * Status: resolved