Changeset 3409358
- Timestamp:
- 12/03/2025 11:10:16 AM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
advanced-custom-fields-table-field/trunk/readme.txt
r3409348 r3409358 3 3 Tags: acf, table, scf, advanced custom fields, secure custom fields 4 4 Requires at least: 5.3 5 Tested up to: 6. 85 Tested up to: 6.9 6 6 Stable tag: 1.3.32 7 7 Requires PHP: 7.4 … … 467 467 468 468 Since version 1.3.32, you can configure the UI sanitizing options. 469 Ensure you create a dedicated admin script for configuring the table field plugin in your theme and enqueue it correctly. 470 This is required so that the hook can be registered in the plugin after the plugin initialization and before the plugin script functionalities are executed.469 470 Ensure you create a dedicated admin script for configuring the table field plugin in your theme and enqueue it correctly. This is required so that the hook can be registered in the plugin after the plugin initialization and before the plugin script functionalities are executed. 471 471 472 472 Create a file in your theme at the path `/js/table-field-config.js`. 473 473 474 Than enqueue that script in the functions.phpfile with the following action.474 Than enqueue that script in your themes `functions.php` file with the following action. 475 475 476 476 ` … … 487 487 488 488 The sanitization of the table fields UI is handled by DOMPurify. 489 Use the following table field hook to modify the DOMPurify options.489 Use the following table field hook in your table field config script to modify the DOMPurify options. 490 490 491 491 `ACFTableField.addFilter( 'core', 'sanitize_html', function( options ) {
Note: See TracChangeset
for help on using the changeset viewer.