Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-block-supports.php

get_block_wrapper_attributes()

Function: Generates a string of attributes by applying to the current block being rendered all of the features that the block supports.

Source: wp-includes/class-wp-block-supports.php:175

Used by 0 functions | Uses 2 functions

WP_Block_Supports

Class: Class encapsulating and implementing Block Supports.

Source: wp-includes/class-wp-block-supports.php:18

Used by 0 functions | Uses 0 functions

WP_Block_Supports::get_instance()

Method: Utility method to retrieve the main instance of the class.

Source: wp-includes/class-wp-block-supports.php:53

Used by 2 functions | Uses 0 functions

WP_Block_Supports::init()

Method: Initializes the block supports. It registers the block supports block attributes.

Source: wp-includes/class-wp-block-supports.php:66

Used by 0 functions | Uses 1 function

WP_Block_Supports::register()

Method: Registers a block support.

Source: wp-includes/class-wp-block-supports.php:81

Used by 0 functions | Uses 0 functions

WP_Block_Supports::apply_block_supports()

Method: Generates an array of HTML attributes, such as classes, by applying to the given block all of the features that the block supports.

Source: wp-includes/class-wp-block-supports.php:96

Used by 0 functions | Uses 1 function

WP_Block_Supports::register_attributes()

Method: Registers the block attributes required by the different block supports.

Source: wp-includes/class-wp-block-supports.php:141

Used by 0 functions | Uses 1 function
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry