exists()) { add_filter('age_gate/init/content', function($content) { $woof = new \WOOF; if (method_exists($woof, 'get_really_current_term') && $term = $woof->get_really_current_term()) { $content = new \AgeGate\Common\Content($term, 'term'); } return $content; }); } } }