Este usuário não tem tópicos favoritos.
Tópicos favoritos do fórum
Tópicos do fórum criados
| Status |
Tópico
|
Suporte | Vozes | Posts | Atualidade |
|---|---|---|---|---|---|
|
Build fails due to increases in queries response time
Iniciado por: virginiaK
em: English Support
Problem: get_field_groups_by_object_type after updating WPML and ACF Pro plugins. This issue is linked to how ACFML handles field group translations, especially during REST API requests. acfml_should_translate_acf_entity filter introduced in ACFML version 2.1.4 to selectively disable translation logic during REST API requests. Here is how you can implement it: add_action( 'rest_api_init', function() {
if ( wp_is_serving_rest_request() ) {
add_filter( 'acfml_should_translate_acf_entity', '__return_false' );
}
}, 5 );It is advisable to add this snippet in a Must-Use plugin for optimal performance. If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance. |
|
1 | 4 | 10 meses, 1 semana atrás | |
|
WPML not generating language menus after wordpress 6.1.1 update
Iniciado por: virginiaK em: English Support |
|
2 | 2 | 3 anos, 2 meses atrás |