Skip to content

[Help needed] Conditionally replacing a field for another #102

@pgroot91

Description

@pgroot91

Hi Guys,

I wonder if its possible to replace a CMB2 field with another based on another plugins activation that contains a fully customized field.

Plugin 1

  • CORE Plugin
  • Field 1

Plugin 2 (activated)

  • Extension Plugin
  • New Field, should replace the field in the CORE Plugin (Field 1).

The reason is that this field is only for a select group of users. And that is why i want to create that feature in a separate plugin and not including it in the core plugin with a setting.

Any ideas? I haven't seen something like this yet explained yet or must have missed it.

Thanks,
Patrick

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