Okay
  Public Ticket #2878641
Custom Post types ACF
Closed

Comments

  • Jason Greenlees started the conversation

    Hi, 

    I bought your plugin WP Data Tables from App Sumo a while ago and have just looked at potentially using it for a project that uses a custom post type and ACF to store data that is fed into a site via an API. 

    Does WP Data Tables support being able to pull data from wp_posts of a certain type and use meta from acf type fields that might be set up for that CPT?

  • [deleted] replied

    Hi Jason

    Thank you for reaching out to us.

    We don't have a native integration with ACF, so you would need to use custom queries to pull the data from its database tables. Writing custom queries is not included in the provided support for the plugin, so I wouldn't be able to help you with that, I'm afraid.

    What we have is WP query generator.

    Please note that this tool is not an ultimate query generator, it just constructs a suggestion of a query. We constantly work on improving it, but SQL is such a complicated and flexible language that full automation for constructing queries is hardly possible. So, you will often need to play around with the resulting query.