Title: Example extending functionality with php
Last modified: October 23, 2024

---

# Example extending functionality with php

 *  Resolved [brad hogan](https://wordpress.org/support/users/bradley2083/)
 * (@bradley2083)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/example-extending-functionality-with-php/)
 * It would be great if you could provide a sample code snippet in your docs if 
   someone wanted to extend the functionality using your hook. For instance, if 
   you had an example function that would allow to modify the gap between slides.

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

 *  Plugin Author [Fabian Todt](https://wordpress.org/support/users/gaambo/)
 * (@gaambo)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/example-extending-functionality-with-php/#post-18102075)
 * Hi, 
   I’ve added another example which uses the swiper options filter here: [https://github.com/goodwp/good-slider/blob/main/examples/filters.php](https://github.com/goodwp/good-slider/blob/main/examples/filters.php)
   and also added a notice to the FAQs in the readme.
    -  This reply was modified 1 year, 6 months ago by [Fabian Todt](https://wordpress.org/support/users/gaambo/).
 *  Thread Starter [brad hogan](https://wordpress.org/support/users/bradley2083/)
 * (@bradley2083)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/example-extending-functionality-with-php/#post-18102831)
 * Nice, thank you!

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

The topic ‘Example extending functionality with php’ is closed to new replies.

 * ![](https://ps.w.org/good-slider/assets/icon-256x256.png?rev=2825065)
 * [Good Slider](https://wordpress.org/plugins/good-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/good-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/good-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/good-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/good-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/good-slider/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [brad hogan](https://wordpress.org/support/users/bradley2083/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/example-extending-functionality-with-php/#post-18102831)
 * Status: resolved