Datatables | Wordpress post metadata | how do?


Topic: Datatables | Wordpress post metadata | how do?

MWCCredit pro premium priority asked 3 years ago

I have a requirement to render the datatable in Wordpress from a WP_Query().

I have localized the script that the datatable starter snippet is in, and am able to access the standard post data just fine (ID,date,author,title,etc), but I cannot locate any post custom metadata in the console. (metadata set by advanced custom fields plugin for Wordpress)

If anyone out there has overcome this issue in the past, and is kind enough to share what they did (or even point me in the right direction) I would be very grateful.


Grzegorz Bujański staff commented 3 years ago

What about this: https://developer.wordpress.org/reference/functions/get_post_meta/ This method doesn't return the data you need?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.11.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags