Functions

You can use ACF's get_field() function to retrieve data from a custom table and update_field() function to update custom table data.

Example:

get_field('product_name');
update_field('product_name', 'iPhone');

ACF to custom database tables plugin has exposed the following public functions:

  1. get_custom_table_fields()
  2. get_custom_table_field()
  3. the_custom_table_field()
  4. update_custom_table_field()

Upgrade to PRO