Title: Make Hyphenator config filterable
Last modified: March 5, 2018

---

# Make Hyphenator config filterable

 *  [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/make-2/)
 * Hi [@e2b](https://wordpress.org/support/users/e2b/), [@odie2](https://wordpress.org/support/users/odie2/),
   `
   hyphenator_hook()` (in `hyphenator/plugin.php`) loads the initialization script.
   It would be very useful to make `$hyphenatorConfig` filterable (something like`
   apply_filters( 'hyphenator_config, $hyphenatorConfig );`). This would allow developers
   to extend/change the configuration easily and would make requests like [this one](https://wordpress.org/support/topic/hyphenate-only-mobile-view/)
   from [@opticaldreams4u](https://wordpress.org/support/users/opticaldreams4u/)
   possible.
 * Also, you should use [`wp_add_inline_script()`](https://developer.wordpress.org/reference/functions/wp_add_inline_script/).
 * Thanks!

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

 *  Thread Starter [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/make-2/#post-10040634)
 * Sorry, I forgot to complete the title. It should be “Make Hyphenator config filterable”.
   [@jdembowski](https://wordpress.org/support/users/jdembowski/), do you mind changing
   the title (and remove this answer afterwards)? Thanks alot!
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [8 years, 1 month ago](https://wordpress.org/support/topic/make-2/#post-10040667)
 * You can edit your topic with this link.
 * [https://wordpress.org/support/topic/make-2?edit=1](https://wordpress.org/support/topic/make-2?edit=1)
 * [@tyrannous](https://wordpress.org/support/users/tyrannous/) Best to do it while
   you still can.
 *  Thread Starter [Philipp Bammes](https://wordpress.org/support/users/tyrannous/)
 * (@tyrannous)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/make-2/#post-10040768)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/), thank you very
   much for getting back to me. I was certain it would not be possibly to change
   it later on.
 * Sorry for having bothered you.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [8 years, 1 month ago](https://wordpress.org/support/topic/make-2/#post-10040771)
 * Not a problem. 🙂 But I think you have up to 60 minutes to edit it so sooner 
   is best. After that you won’t be able to.

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

The topic ‘Make Hyphenator config filterable’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hyphenator_515350.svg)
 * [Hyphenator](https://wordpress.org/plugins/hyphenator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hyphenator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hyphenator/)
 * [Active Topics](https://wordpress.org/support/plugin/hyphenator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hyphenator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hyphenator/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [inline script](https://wordpress.org/support/topic-tag/inline-script/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/make-2/#post-10040771)
 * Status: not a support question