• Resolved designcmk

    (@designcmk)


    Hi, 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.

Viewing 1 replies (of 1 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Not acting on shortcode generated content’ is closed to new replies.