Support

Account

Home Forums General Issues Get fields associated with post_type

Unread

Get fields associated with post_type

  • Is there any way to retrieve all fields that are linked to a specific post_type?

    My logical way of attacking this would be find the rule in the database which has the post_type set to == ‘my_post_type’. Then get the post_id of that specific rule and find database entries with the meta_key starting with “field_” and the post_id of the rule.

    My question now:
    Is there anyway to retrieve the post_id of a rule by the post_type it is set to?

    Regards,
    Valentin

Viewing 1 post (of 1 total)

The topic ‘Get fields associated with post_type’ is closed to new replies.