Home
last modified time | relevance | path

Searched refs:_wp_array_get (Results 1 – 22 of 22) sorted by relevance

/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/block-supports/
H A Dtypography.php22 $typography_supports = _wp_array_get( $block_type->supports, array( 'typography' ), false );
27 …$has_font_family_support = _wp_array_get( $typography_supports, array( '__experimentalFontFami…
28 $has_font_size_support = _wp_array_get( $typography_supports, array( 'fontSize' ), false );
29 …$has_font_style_support = _wp_array_get( $typography_supports, array( '__experimentalFontStyl…
30 …$has_font_weight_support = _wp_array_get( $typography_supports, array( '__experimentalFontWeig…
31 $has_line_height_support = _wp_array_get( $typography_supports, array( 'lineHeight' ), false );
78 $typography_supports = _wp_array_get( $block_type->supports, array( 'typography' ), false );
93 $has_font_size_support = _wp_array_get( $typography_supports, array( 'fontSize' ), false );
94 …$has_font_style_support = _wp_array_get( $typography_supports, array( '__experimentalFontStyl…
96 $has_line_height_support = _wp_array_get( $typography_supports, array( 'lineHeight' ), false );
[all …]
H A Dcolors.php20 $color_support = _wp_array_get( $block_type->supports, array( 'color' ), false );
22 …rt = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_suppor…
23 …_support = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_suppor…
24 $has_gradients_support = _wp_array_get( $color_support, array( 'gradients' ), false );
25 $has_link_colors_support = _wp_array_get( $color_support, array( 'link' ), false );
74 $color_support = _wp_array_get( $block_type->supports, array( 'color' ), false );
84 …rt = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_suppor…
85 …_support = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_suppor…
86 $has_gradients_support = _wp_array_get( $color_support, array( 'gradients' ), false );
H A Dspacing.php50 $padding_value = _wp_array_get( $block_attributes, array( 'style', 'spacing', 'padding' ), null );
59 $margin_value = _wp_array_get( $block_attributes, array( 'style', 'spacing', 'margin' ), null );
H A Dborder.php131 $border_support = _wp_array_get( $block_type->supports, array( '__experimentalBorder' ), false );
159 ( true === _wp_array_get( $block_type->supports, array( '__experimentalBorder' ), $default ) )
H A Dduotone.php301 …$has_duotone_support = _wp_array_get( $block_type->supports, array( 'color', '__experimentalDuoton…
333 …$duotone_support = _wp_array_get( $block_type->supports, array( 'color', '__experimentalDuotone' )…
H A Delements.php22 …$link_color = _wp_array_get( $block['attrs'], array( 'style', 'elements', 'link', 'color', 'text' …
H A Dlayout.php52 $default_layout = _wp_array_get( $tree->get_settings(), array( 'layout' ) );
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/block-supports/
H A Dtypography.php22 $typography_supports = _wp_array_get( $block_type->supports, array( 'typography' ), false );
27 …$has_font_family_support = _wp_array_get( $typography_supports, array( '__experimentalFontFami…
28 $has_font_size_support = _wp_array_get( $typography_supports, array( 'fontSize' ), false );
29 …$has_font_style_support = _wp_array_get( $typography_supports, array( '__experimentalFontStyl…
30 …$has_font_weight_support = _wp_array_get( $typography_supports, array( '__experimentalFontWeig…
31 $has_line_height_support = _wp_array_get( $typography_supports, array( 'lineHeight' ), false );
78 $typography_supports = _wp_array_get( $block_type->supports, array( 'typography' ), false );
93 $has_font_size_support = _wp_array_get( $typography_supports, array( 'fontSize' ), false );
94 …$has_font_style_support = _wp_array_get( $typography_supports, array( '__experimentalFontStyl…
96 $has_line_height_support = _wp_array_get( $typography_supports, array( 'lineHeight' ), false );
[all …]
H A Dcolors.php20 $color_support = _wp_array_get( $block_type->supports, array( 'color' ), false );
22 …rt = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_suppor…
23 …_support = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_suppor…
24 $has_gradients_support = _wp_array_get( $color_support, array( 'gradients' ), false );
25 $has_link_colors_support = _wp_array_get( $color_support, array( 'link' ), false );
74 $color_support = _wp_array_get( $block_type->supports, array( 'color' ), false );
84 …rt = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_suppor…
85 …_support = true === $color_support || ( is_array( $color_support ) && _wp_array_get( $color_suppor…
86 $has_gradients_support = _wp_array_get( $color_support, array( 'gradients' ), false );
H A Dspacing.php50 $padding_value = _wp_array_get( $block_attributes, array( 'style', 'spacing', 'padding' ), null );
59 $margin_value = _wp_array_get( $block_attributes, array( 'style', 'spacing', 'margin' ), null );
H A Dborder.php131 $border_support = _wp_array_get( $block_type->supports, array( '__experimentalBorder' ), false );
159 ( true === _wp_array_get( $block_type->supports, array( '__experimentalBorder' ), $default ) )
H A Dduotone.php301 …$has_duotone_support = _wp_array_get( $block_type->supports, array( 'color', '__experimentalDuoton…
333 …$duotone_support = _wp_array_get( $block_type->supports, array( 'color', '__experimentalDuotone' )…
H A Delements.php22 …$link_color = _wp_array_get( $block['attrs'], array( 'style', 'elements', 'link', 'color', 'text' …
H A Dlayout.php52 $default_layout = _wp_array_get( $tree->get_settings(), array( 'layout' ) );
/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/
H A Dclass-wp-theme-json.php291 $preset = _wp_array_get( $this->theme_json, $path, null );
565 $node = _wp_array_get( $this->theme_json, $metadata['path'], array() );
578 $node = _wp_array_get( $this->theme_json, $metadata['path'], array() );
613 $node = _wp_array_get( $this->theme_json, $metadata['path'], array() );
718 $preset_per_origin = _wp_array_get( $settings, $preset['path'], array() );
756 $preset_per_origin = _wp_array_get( $settings, $preset['path'], array() );
786 $custom_values = _wp_array_get( $settings, array( 'custom' ), array() );
944 $value = _wp_array_get( $styles, $path, '' );
1119 $node = _wp_array_get( $incoming_data, $path, null );
H A Dclass-wp-theme-json-resolver.php211 $base_tree = _wp_array_get( $theme_json, $base_path, array() );
213 $array_to_translate = _wp_array_get( $node_data, $data_path, null );
224 $array_to_translate = _wp_array_get( $theme_json, $path, null );
H A Dblocks.php995 $block_support = _wp_array_get( $block_type->supports, $feature, $default );
1028 $support_for_key = _wp_array_get( $metadata['supports'], array( $typography_key ), null );
H A Dfunctions.php4739 function _wp_array_get( $array, $path, $default = null ) { function
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/
H A Dclass-wp-theme-json.php291 $preset = _wp_array_get( $this->theme_json, $path, null );
565 $node = _wp_array_get( $this->theme_json, $metadata['path'], array() );
578 $node = _wp_array_get( $this->theme_json, $metadata['path'], array() );
613 $node = _wp_array_get( $this->theme_json, $metadata['path'], array() );
718 $preset_per_origin = _wp_array_get( $settings, $preset['path'], array() );
756 $preset_per_origin = _wp_array_get( $settings, $preset['path'], array() );
786 $custom_values = _wp_array_get( $settings, array( 'custom' ), array() );
944 $value = _wp_array_get( $styles, $path, '' );
1119 $node = _wp_array_get( $incoming_data, $path, null );
H A Dclass-wp-theme-json-resolver.php211 $base_tree = _wp_array_get( $theme_json, $base_path, array() );
213 $array_to_translate = _wp_array_get( $node_data, $data_path, null );
224 $array_to_translate = _wp_array_get( $theme_json, $path, null );
H A Dblocks.php995 $block_support = _wp_array_get( $block_type->supports, $feature, $default );
1028 $support_for_key = _wp_array_get( $metadata['supports'], array( $typography_key ), null );
H A Dfunctions.php4739 function _wp_array_get( $array, $path, $default = null ) { function