Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

it is possible to hide some collections, for examp...

discord user avatar
tylandavis
last year
1

hey

@482337150659198988

, you can hide collections using the

admin.hidden

property on your collection config:


export const Posts: CollectionConfig = {
  slug: 'posts',
  admin: {
    hidden: true,
  },
  fields: [
    ...
  ],
};


Set to

true

or a function, called with the current user, returning

true

to exclude this collection from navigation and admin routing.

  • default discord avatar
    maverick_crlast year

    oh, thank you

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.