do_action( 'wpml_sync_all_custom_fields', $post_id );
- タイプ
- action
- カテゴリー
- その他
- WPMLバージョン
- 3.9.1
説明
特定の投稿のすべての翻訳間で、すべてのカスタムフィールドの値を同期します。これは、これらのカスタムフィールドの翻訳オプションがコピーに設定されている場合にのみ実行されます。
引数
このアクションフックでは、カスタムフィールドを同期したい投稿のIDを指定するだけです。使用例
do_action( 'wpml_sync_all_custom_fields', 1234)
関連するフック
icl_ls_languages, wpml_sync_custom_field_copied_value, wpml_ls_enable_ajax_navigation, wpml_element_type, wpml_setting, wpml_sub_setting, wpml_exclude_post_from_auto_translate, wpml_forms_config_ninja-forms, wpml_forms_config_wpforms, wpml_tf_feedback_open_link