Created
April 8, 2019 14:24
-
-
Save medienbaecker/3def025cdc4cc4a5b95ef8ffef7d9dac to your computer and use it in GitHub Desktop.
(-) to ­ KirbyTag hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Kirby::plugin('medienbaecker/shy', [ | |
'hooks' => [ | |
'kirbytags:before' => function ($text, $data, $options) { | |
return Str::replace($text, "(-)", "­"); | |
} | |
] | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment