add_action( 'wcml_after_load_lock_fields_js', 'the_callback_function' );
- ประเภท
- action
- หมวดหมู่
- เบ็ดเตล็ด
- เวอร์ชันของ WooCommerce Multilingual
- 3.8.1
คำอธิบาย
เรียกใช้การดำเนินการหลังจากโหลดโค้ด JavaScript สำหรับล็อกฟิลด์บนหน้าตัวแก้ไขสินค้าที่แปลแล้ว (ตัวแก้ไขดั้งเดิมของ WooCommerce)
อาร์กิวเมนต์
การดำเนินการนี้ไม่มีพารามิเตอร์ตัวอย่างการใช้งาน
ตัวอย่าง
add_action( 'wcml_after_load_lock_fields_js', 'my_custom_action' );
function my_custom_action() {
// my custom action
}
ฮุกที่เกี่ยวข้อง
wcml_new_order_admin_email_language, translate_shipping_methods_in_package, wcml_gui_additional_box_html, wcml_current_gateway_language, wcml_variation_term_taxonomy_ids, wcml_is_attributes_page, wcml_is_variable_product, wcml_gui_additional_box_data, wcml_wc_installed_pages, wcml_not_display_single_fields_to_translate