Field Groups Enumeration is bugged
-
Hi.
Inside
inc/admin/zurccf7.function.custom.php:zurcf7_ACF_filter_array_function()
registered field groups are retrieved using a wordpress query instead of ACF api https://www.advancedcustomfields.com/resources/acf_get_field_groups/if ( is_plugin_active( 'advanced-custom-fields/acf.php' ) || is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) {
$args = array(
'order' => 'DESC',
'post_type' => 'acf-field-group',
);
$temp_array = $resarr = $field_label = array();
$data = get_posts( $args );
foreach($data as $post){
$group_id = $post->ID;In case amount of groups i high, native wordpress limit is low and ‘field group for user form’ has an high id it is not given as result by that paginated query
Can you please fix in next releases?
Thank you
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Field Groups Enumeration is bugged’ is closed to new replies.