WPML
do_action( 'wpml_sync_custom_field', $post_id, $custom_field );
タイプ
action
カテゴリー
その他
WPMLバージョン
3.9.1

説明

指定されたカスタムフィールドの値を、特定の投稿のすべての翻訳間で同期します。これは、このカスタムフィールドの翻訳オプションがコピーに設定されている場合にのみ実行されます。

引数

このアクションフックでは、投稿IDと、同期するカスタムフィールドのスラッグのみを指定する必要があります。

使用例

do_action( 'wpml_sync_custom_field', 1234, $event-date );

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

すべてのその他フック(30件) →