repositories
field in composer.json
(based on this gist):'version': '*.*.*(.*)'
with your desired version.'type': 'wordpress-plugin'
with 'type': 'library'
if you would like to have ACF PRO installed in the ./vendor
directory instead of ./wp-content/plugins
. This may be desireable if for example, you are including ACF PRO in a WordPress theme.ACF_PRO_KEY
to your ACF PRO key..env
file:*
, composer will install the version from the package repository (see 1). This has the benefit that you only need to change the version in the package repository when you want to update.composer update
will only work if you change the version
in the package repository. Decreasing the version only works if you require an exact version.