Display List of Post Type Data Fields (1 post)

  1. JordanThurston
    Posted 1 year ago #

    Hello There,

    I'm currently working on a plugin that allows you to stamp a footer onto an existing PDF file. I've hit a bit of a snag on the following problem:

    The footer has dynamic text and this text is based off the options off a custom post type.

    For example When creating a new post you have the option of selecting several values form a drop down list. I want to be able to gather the options of that drop down list and access them when i run my plugin.

    I have been playing around with using get_post_types(); to list all the different post types, but i cannot get my head around getting the data fields of that single post type.

    Is there a pre-existing function similar to get_post_types(); to do this or do i have to get really creative?

    If anyone can give me some advice, maybe a nudge in the right direction , i would appreciate it greatly.

    Regards, JT.

Topic Closed

This topic has been closed to new replies.

About this Topic