PortfolioServiceProvider
Corex\Portfolio\PortfolioServiceProvider · class · Add-ons layer
Boots the Portfolio kit: registers the corex_project CPT + project_type taxonomy (the portfolio domain), the dynamic projects-grid block (through the corex-blocks engine), and the PortfolioBlueprint manifest. The FSE templates live in the theme (the skin); deactivating the kit leaves them intact.
Public API
Section titled “Public API”register(): void
Section titled “register(): void”boot(): void
Section titled “boot(): void”registerContent(): void
Section titled “registerContent(): void”The portfolio domain: a public corex_project CPT (block-editor + thumbnails) and a project_type taxonomy. Registered on init so it exists in every context.
registerBlock(): void
Section titled “registerBlock(): void”Discover + register the projects block. Its assets are declared in block.json, so they load only where the block renders (Principle VI).