Changeset 56226 for trunk/src/wp-includes/block-supports/duotone.php
- Timestamp:
- 07/13/2023 11:32:19 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/duotone.php
r56101 r56226 41 41 ); 42 42 43 // Set up metadata prior to rendering any blocks.44 add_action( 'wp_loaded', array( 'WP_Duotone', 'set_global_styles_presets' ), 10 );45 add_action( 'wp_loaded', array( 'WP_Duotone', 'set_global_style_block_names' ), 10 );46 47 43 // Add classnames to blocks using duotone support. 48 add_filter( 'render_block', array( 'WP_Duotone', 'render_duotone_support' ), 10, 2);44 add_filter( 'render_block', array( 'WP_Duotone', 'render_duotone_support' ), 10, 3 ); 49 45 50 46 // Enqueue styles.
Note: See TracChangeset
for help on using the changeset viewer.