Title: Hook Needed
Last modified: April 30, 2021

---

# Hook Needed

 *  Resolved [Turtle Club](https://wordpress.org/support/users/turtleclub/)
 * (@turtleclub)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/hook-needed-2/)
 * Hello, I’m looking to modify your plugin, but the instance of the class is not
   available due to it not being assigned to a variable. Ie would like to rewrite
   your method without having to directly modify your plugin. Also if you could 
   add a hook on line 658 of class-perfect-woocommerce-brands.php below “foreach(
   $brands as $brand) {” that would be amazing.
 * If you could add a filter for each brand as well that would be awesome, essentially
   I’ve written JS to add a separator, but I would like to have it directly applied
   to the method.

Viewing 1 replies (of 1 total)

 *  [sebastopolys](https://wordpress.org/support/users/sebastopolys/)
 * (@sebastopolys)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/hook-needed-2/#post-14656853)
 * Hello [@turtleclub](https://wordpress.org/support/users/turtleclub/)
 * Ok, the dev team has scheduled your requirement.
 * Feature you are asking for might be included on next releases if possible

Viewing 1 replies (of 1 total)

The topic ‘Hook Needed’ is closed to new replies.

 * ![](https://ps.w.org/perfect-woocommerce-brands/assets/icon-256x256.jpg?rev=2912506)
 * [Perfect Brands for WooCommerce](https://wordpress.org/plugins/perfect-woocommerce-brands/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/perfect-woocommerce-brands/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/perfect-woocommerce-brands/)
 * [Active Topics](https://wordpress.org/support/plugin/perfect-woocommerce-brands/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/perfect-woocommerce-brands/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/perfect-woocommerce-brands/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [instantiate](https://wordpress.org/support/topic-tag/instantiate/)
 * [method](https://wordpress.org/support/topic-tag/method/)
 * [Modify](https://wordpress.org/support/topic-tag/modify/)

 * 1 reply
 * 2 participants
 * Last reply from: [sebastopolys](https://wordpress.org/support/users/sebastopolys/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/hook-needed-2/#post-14656853)
 * Status: resolved