wp_has_spacing_feature_support


wp_has_spacing_feature_support ( $block_type, $feature, $default = false )

Access:
  • private
Parameters:
  • (WP_Block_Type) block_type Block type to check for support.
  • (string) feature Name of the feature to check support for.
  • (mixed) default Fallback value for feature support. Default false.
Returns:
  • (bool) Whether the feature is supported.
Defined at:

Description

Checks whether the current block type supports the spacing feature requested.

Related Functions

wp_has_border_feature_support, wp_apply_spacing_support, wp_register_spacing_support, wp_apply_border_support, wp_apply_colors_support

Top Google Results

User discussions

wpseek mobile