alleyinteractive / alleyinteractive/wordpress-fieldmanager

Allow label_macro to use multiple fields

Open
#301 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
563
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Change the format of label macro to accommodate multiple fields. The second parameter could either be a single field name as it is now for backwards compatibility or an array of field names.

The use case I encountered was having first name and last name as the value for the label.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.