sanitizeElementData( $data[ 'label' ], [ 'a' ] ); if ( !empty( $sanitizedLabel) ) { $data[ 'label' ] = $sanitizedLabel; } return $data; } }