Skip to content

Can trigger own functionality when transpiling? #10

Description

@leoloso

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
*/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions