Problems with using the_content filter hook
-
Wonderful plugin!
I’m noticing one outstanding issue with the plugin’s use of the standard
the_content
filter hook. Since other plugins and themes use this hook to inject their own content, I’m noticing that when I add a reusable block in a widget area, that it’s also injecting other plugin content into the block as well.I’m guessing that the easiest solution would be to create a custom
reblex_the_content
filter and hookingreblex_display_block()
,reblex_shortcode()
, andreblex_get_block()
into it–basically anywherethe_content
filter hook is being used in reusable-blocks-extended.php, to avoid such conflicts.See: https://www.billerickson.net/code/duplicate-the_content-filters/
- The topic ‘Problems with using the_content filter hook’ is closed to new replies.