Skip to content

Allow screens/options/sections to be displayed based on conditionals #36

Description

@BoweFrankema

Allow dashboard options, screens or sections to be shown based on conditions that have been set. Here's a basic example

[balance_buddypress_protect]
section = "buddypress"
title = "Private Community"
type = "radio"
field_options[] = "on=On"
field_options[] = "off=Off"
default_value = "off"

condition = "is_main_site"

This would allow a lot more flexibility especially in Multisite enviroments or 3rd Party plugins.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions