Changeset 57562 for trunk/src/wp-includes/block-bindings.php
- Timestamp:
- 02/08/2024 08:55:18 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-bindings.php
r57560 r57562 89 89 * the block's original value, null, false to remove an attribute, etc. 90 90 * } 91 * @return array|false Source when the registration was successful, or `false` on failure.91 * @return WP_Block_Bindings_Source|false Source when the registration was successful, or `false` on failure. 92 92 */ 93 93 function register_block_bindings_source( string $source_name, array $source_properties ) { … … 101 101 * 102 102 * @param string $source_name Block bindings source name including namespace. 103 * @return array|false The unregistered block bindings source on success and `false` otherwise.103 * @return WP_Block_Bindings_Source|false The unregistered block bindings source on success and `false` otherwise. 104 104 */ 105 105 function unregister_block_bindings_source( string $source_name ) { … … 112 112 * @since 6.5.0 113 113 * 114 * @return arrayThe array of registered block bindings sources.114 * @return WP_Block_Bindings_Source[] The array of registered block bindings sources. 115 115 */ 116 116 function get_all_registered_block_bindings_sources() { … … 124 124 * 125 125 * @param string $source_name The name of the source. 126 * @return array|null The registered block bindings source, or `null` if it is not registered.126 * @return WP_Block_Bindings_Source|null The registered block bindings source, or `null` if it is not registered. 127 127 */ 128 128 function get_block_bindings_source( string $source_name ) {
Note: See TracChangeset
for help on using the changeset viewer.