WebDevStudios / wds-headless-wordpress

This codebase has been moved to a monorepo. Please see the documentation to learn more. 🍻
https://github.com/WebDevStudios/nextjs-wordpress-starter
GNU General Public License v2.0
32 stars 15 forks source link

Feature/public composer #8

Closed jrfoell closed 3 years ago

jrfoell commented 3 years ago

Feature Description

I don't have a ticket for this yet, but since our project is now public, we should remove the pro-plugins from composer. After doing that I discovered acf_register_block_type() is an ACF-Pro function only. I wrapped it in function_exists() but I'm not sure if any of the ACF functionality is retained. Would like to discuss.

Install this alternate-universe setup by running: COMPOSER=composer-public.json composer install Please note that doing this in an existing install may have unintended consequences.