Custom Fields
Re-Envisioned
Support General Add custom text after the string in a field type: post

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 6 months, 1 week ago.

  • Creator
    Topic
  • #13344
    Resolved
    Archimidis Mertzanos
    Participant

    Hello everyone. I am using a field of type post. The result is a nice dropdown populated with IDS and post titles.I would like to know if there is filter to add some special text after the text string which appears.
    Example:

    <option value=3466>Post title</option>

    to
    <option value=3466>Post title – this is a custom string, number whatever.</option>

    Kind regards
    ArchimidisM

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #13383

    Anh Tran
    Keymaster

    Hi Archimidis,

    There are filters rwmb_*_choice_label for object fields that allows you to do that. Please see this docs.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.