Skip to content

Allow configuring base FQCN used in getFullyQualifiedClassName() #34

@slaFFik

Description

@slaFFik

Right now WPForms is hardcoded:

// Fix WPForms.
// Remove _plugin for main plugin class, which is usually Plugin.
$fqcn = str_replace( [ 'wp_forms', '_plugin' ], [ 'wpforms', '' ], $fqcn );

But in other products (like WPAuth) I will need to do the same thing - and currently, there is no way to configure that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions