PHP 8.2.31
Preview: utils.php Size: 1014 B
/home/nshryvcy/himaltourism.com/wp-includes/block-supports/utils.php

<?php
/**
 * Block support utility functions.
 *
 * @package WordPress
 * @subpackage Block Supports
 * @since 6.0.0
 */

/**
 * Checks whether serialization of the current block's supported properties
 * should occur.
 *
 * @since 6.0.0
 * @access private
 *
 * @param WP_Block_Type $block_type  Block type.
 * @param string        $feature_set Name of block support feature set..
 * @param string        $feature     Optional name of individual feature to check.
 *
 * @return boolean Whether to serialize block support styles & classes.
 */
function wp_should_skip_block_supports_serialization( $block_type, $feature_set, $feature = null ) {
	if ( ! is_object( $block_type ) || ! $feature_set ) {
		return false;
	}

	$path               = array( $feature_set, '__experimentalSkipSerialization' );
	$skip_serialization = _wp_array_get( $block_type->supports, $path, false );

	if ( is_array( $skip_serialization ) ) {
		return in_array( $feature, $skip_serialization, true );
	}

	return $skip_serialization;
}

Directory Contents

Dirs: 1 × Files: 14

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2026-02-14 07:57:36
Edit Download
1.69 KB lrw-r--r-- 2021-12-02 10:46:04
Edit Download
6.12 KB lrw-r--r-- 2022-09-20 06:44:10
Edit Download
5.16 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
1.65 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
2.74 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
15.72 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
3.36 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
1.71 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
22.09 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
4.14 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
4.21 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
2.78 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
22.29 KB lrw-r--r-- 2023-04-04 05:42:19
Edit Download
1014 B lrw-r--r-- 2022-04-05 22:38:02
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).