The Trans Directory
1---
2title: ExplicitPublish
3tags:
4 - plugin/filter
5---
6
7This plugin filters content based on an explicit `publish` flag in the frontmatter, allowing only content that is explicitly marked for publication to pass through. It's the opt-in version of [[RemoveDrafts]]. See [[private pages]] for more information.
8
9> [!note]
10> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
11
12This plugin has no configuration options.
13
14## API
15
16- Category: Filter
17- Function name: `Plugin.ExplicitPublish()`.
18- Source: [`quartz/plugins/filters/explicit.ts`](https://github.com/jackyzha0/quartz/blob/v4/quartz/plugins/filters/explicit.ts).