Conversation
supportHi, thank you you for giving existence to this plugin. I would like to point out that the content generated through shortcodes, does not get affected. For instance, this code returns the exact same text: add_shortcode( 'shortcode_name', function () { $out = '<p>Combien vaut le kilo de pommes ? 25 €</p>'; return $out; } ); Any ideas on why is this happening ? Thank you and good day.
Yes, that’s correct, WordPress does re-apply ‘the_content’ filter to shortcode output. You would have to fix the text in your shortcode function, either by applying the WordPress ‘the_content’ filter to your text, or calling the NbspFrench::filter( $text ) method. js.
Yes, that’s correct, WordPress does re-apply ‘the_content’ filter to shortcode output. You would have to fix the text in your shortcode function, either by applying the WordPress ‘the_content’ filter to your text, or calling the NbspFrench::filter( $text ) method. js.