H2 class exclusion not working
-
We noticed that since version 2.0.51?the exclusions based on classname is not working. We’ve been using this snippet that’s been working before 2.0.51:
add_filter(
'ez_toc_exclude_by_selector',
function( $selectors ) {
$selectors['wprm-recipe-name'] = '.wprm-recipe-name';
return $selectors;
}
);But now it’s not working. I checked the inc.plugin-compatibility.php to see if it’s changed but it looks the same. Is there a new way to exclude H2s based on class name?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘H2 class exclusion not working’ is closed to new replies.