WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
[resolved] you can remove the square brackets from the output (2 posts)

  1. starbuck2k12
    Member
    Posted 1 year ago #

    you can remove the square brackets and quotes from the press of the elements of a custom field repeatable?

    Instead of getting this output:
    ["item1","item2","item"]

    I would like to have this output:
    item1,item2,item3

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    Use the output filters or use json_decode() to convert the JSON encoded array to individual items. There's lots of stuff about this in the Wiki, e.g. https://code.google.com/p/wordpress-custom-content-type-manager/wiki/formatted_list_OutputFilter

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic