Skip to content

How do you unregister a filter? #3377

@cossssmin

Description

@cossssmin

I need to remove the meta generator filter that Hexo uses to inject a <meta name="generator" content="Hexo 3.8.0"> tag - I don't want to have that present in my source code.

The documentation isn't very helpful on the matter of unregistering filters. What are type and filter?

For a concrete example, how would I go about removing the meta generator injection from that gets registered in after-render:html, as seen here?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionNeeds help in usage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions