Custom Fields
Support General Getting list of available fieldtypes and global fields of each type

  • Creator
  • #11930
    Resolved badabingbreda


    How can I get a list of registered fieldtypes using code? I’ve looked in the source but as far as I can find it can list the fields registered to a post-type or postid, but I need to list all various fieldtypes and subsequently the fieldnames that are registered across the different rwmb_meta_boxes.

    Not really necessary to drilldown into the groups, just top-level fieldnames.

    Can anyone help out?

Viewing 1 replies (of 1 total)
  • Author
  • #11935
    Anh Tran


    You can get all fields registered by parsing the meta boxes’ configurations. All of the meta boxes’ configurations can be access via rwmb_get_registry( 'meta_box' )->all().

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
grid gear info copy caret-up caret-down trash