Make WordPress Core


Ignore:
Timestamp:
06/26/2020 12:44:44 AM (4 years ago)
Author:
TimothyBlynJacobs
Message:

REST API: Introduce Block Types endpoint.

This endpoint allows a user to retrieve the block type definition for all server-side registered block types.

Props spacedmonkey, aduth, gziolo, ocean90, TimothyBlynJacobs.
Fixes #47620.

File:
1 edited

Legend:

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

    r46601 r48173  
    3535     * @since 5.3.0
    3636     *
    37      * @param string $block_name       Block type name including namespace.
     37     * @param string $block_name       Block ty name including namespace.
    3838     * @param array  $style_properties Array containing the properties of the style name, label,
    3939     *                                 style (name of the stylesheet to be enqueued),
Note: See TracChangeset for help on using the changeset viewer.