Title: Using filter hooks
Last modified: August 22, 2016

---

# Using filter hooks

 *  Resolved [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-filter-hooks-1/)
 * Hi there,
 * First of all: great plugin!
 * I was wondering if it’s possible to introduce some filter hooks? That would allow
   advanced users to alter parts of the plugin functionality without messing with
   the plugin files directly.
    For example. At moment I’ve changed line 233 in your
   main php file to this:
 * `return do_shortcode( make_clickable($html) );`
 * Which allows me to use shortcodes in my Google Sheet and have them executed. 
   If that line would like this:
 * `return apply_filters( 'gdoc_html', make_clickable($html) );`
 * I could just add a filter and wouldn’t have to edit your plugin files and lose
   changes whenever I update the plugin.
 * There are probably a few other locations where this could be useful.
 * Kind regards,
    Brecht
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

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

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-filter-hooks-1/#post-5856885)
 * Sure, [send me a patch](https://github.com/meitar/inline-google-spreadsheet-viewer/).
   🙂
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/using-filter-hooks-1/#post-5856921)
 * Actually, patch not needed. I needed to issue a bugfix release so I put filters
   in that release (version 0.8.4, released today). Thanks for prodding me to add
   this functionality.

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

The topic ‘Using filter hooks’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Meitar](https://wordpress.org/support/users/meitar/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/using-filter-hooks-1/#post-5856921)
 * Status: resolved