このユーザーにはお気に入りのトピックがありません。
お気に入りのフォーラムトピック
作成したフォーラムトピック
| ステータス |
トピック
|
サポーター | 声 | 投稿 | 新着度 |
|---|---|---|---|---|---|
|
Build fails due to increases in queries response time
開始者:virginiaK
カテゴリ: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 | 8ヶ月、 1週前 | |
|
WPML not generating language menus after wordpress 6.1.1 update
開始者:virginiaK カテゴリ:English Support |
|
2 | 2 | 3年前 |