Make WordPress Core


Ignore:
Timestamp:
02/08/2024 08:35:47 AM (3 years ago)
Author:
gziolo
Message:

Editor: Improve code documentation for block bindings

Follow-up [57514].
See #60282.
Props czapla, gziolo, retrofox.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-bindings-registry.php

    r57526 r57560  
    3636         * Registers a new block bindings source.
    3737         *
     38         * This is a low-level method. For most use cases, it is recommended to use
     39         * the `register_block_bindings_source()` function instead.
     40         *
     41         * @see register_block_bindings_source()
     42         *
    3843         * Sources are used to override block's original attributes with a value
    3944         * coming from the source. Once a source is registered, it can be used by a
Note: See TracChangeset for help on using the changeset viewer.