Is it possible to get all post MB field values in call?

Support General Is it possible to get all post MB field values in call?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42826
    Rob van TuinRob van Tuin
    Participant

    Is it possible to get all post MB field values in call?

    I know you can get group values with rwmb_meta( '<GROUPID>' ) but is there a way to get all the fields?

    #42831
    PeterPeter
    Moderator

    Hello Rob,

    You can use the function rwmb_get_object_fields() to get all custom fields of an object (post, term, settings page). Refer to the documentation https://docs.metabox.io/functions/rwmb-get-object-fields/

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