To get a list of all the registered image sizes in a WordPress installation, use: This returns something like this:
If you want to use a private Bitbucket repo in composer, you need to create a OAuth consumer key/secret pair in Bitbucket and configure composer to use that when fetching your repo. In composer’s docs there’s a helpful article: Authentication for privately hosted packages and repositories They again link to this page at Atlassian support:… Continue reading How to use private Bitbucket repos in composer
Premium versions of plugins such as ACF and Gravity Forms require special treatment, as they’re not in WPackagist. License keys First, add license keys to .env: To avoid exposing these keys on Whoops error pages, add an array called ‘debug_blacklist’ to Sage 10’s config/app.php file, for example under “Application Debug Mode”: ACF Pro // Instructions… Continue reading How to install premium WordPress plugins with composer
Some things to consider and remember when programming in modern PHP.