phabel
phabel copied to clipboard
Can trigger own functionality when transpiling?
I have a WordPress plugin, coded in 8.0, to be transpiled to 7.1. The required PHP version must be indicated in the plugin's main file header:
<?php
/*
Requires PHP: 8.0
*/
Is it possible to inject some custom functionality, so that when we trigger the transpiling, this header is converted into this?
<?php
/*
Requires PHP: 7.1
*/
Absolutely, I actually already prepared most of the logic needed for custom phabel plugins, I just need to enable the functionality in the composer plugin, will do ASAP.