Make Hyphenator config filterable
-
Hi @e2b, @odie2,
hyphenator_hook()
(inhyphenator/plugin.php
) loads the initialization script. It would be very useful to make$hyphenatorConfig
filterable (something likeapply_filters( 'hyphenator_config, $hyphenatorConfig );
). This would allow developers to extend/change the configuration easily and would make requests like this one from @opticaldreams4u possible.Also, you should use
wp_add_inline_script()
.Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Make Hyphenator config filterable’ is closed to new replies.