woocommerce_email_editor_styles_unsupported_props

woocommerce_email_editor_styles_unsupported_props

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.6.1

apply_filters('woocommerce_email_editor_styles_unsupported_props') is found 1 times:

  • /packages/email-editor/src/Integrations/Utils/class-styles-helper.php line 126
    	public static function get_styles_from_block( array $block_styles, $skip_convert_vars = false ) {
    		$unsupported_props = array(
    			'margin' => array( 'spacing', 'margin' ),
    		);
    		$unsupported_props = apply_filters( 'woocommerce_email_editor_styles_unsupported_props', $unsupported_props );
    		foreach ( $unsupported_props as $path ) {
    			if ( ! is_array( $path ) || count( $path ) === 0 ) {
    				continue;
    			}
    
    			$pointer  = & $block_styles;