Topic: Add filter for markdown
I have a question, how to add filter like {cut} for example for discus like this {discus_comments} ?
Thanks.
..::: Moncho Varela ::::.. ..::: @Nakome ::::.. ..::: Github ::::..
You are not logged in. Please login or register.
I have a question, how to add filter like {cut} for example for discus like this {discus_comments} ?
Thanks.
addFilter('content', function($content) { $some_code = 'Some Code'; return str_replace('{my_shortcode_here}', $some_code, $content); });
usage: {my_shortcode_here}
Please update Morfy to 1.0.2
Nice thanks