'acf-field-group', 'post_status' => array('publish', 'acf-disabled'), 'posts_per_page' => -1, 'orderby' => 'title', 'order' => 'ASC', )); $tableNames = array(); foreach ($acf_field_groups as $group){ $acf_id = $group->ID; $custom_table_name = Acfct_utils::get_custom_table_name($acf_id); if($custom_table_name !== false){ $table_exists = Acf_ct_database_manager::check_table_exists($custom_table_name); array_push($tableNames, array( 'table_name' => $custom_table_name, 'post_id' => $acf_id, 'table_exists' => $table_exists, 'update_required' => Acf_ct_database_manager::should_update_custom_table($acf_id) )); } } ?>
No custom Table configured
'; }else { ?> '; echo ''; echo ''; echo ''; } ?>
Custom Table Name Action
'. esc_html($wpdb->prefix.$table['table_name']) .' '. esc_html($button_text) .''; // show view log if table exists if($table['table_exists']){ echo 'View Logs'; } echo '