Add custom text after the string in a field type: post

Support General Add custom text after the string in a field type: postResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13344

    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

    #13383
    Anh TranAnh Tran
    Keymaster

    Hi Archimidis,

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.