Changeset 59201 for trunk/src/wp-includes/block-template.php
- Timestamp:
- 10/09/2024 10:09:30 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template.php
r59073 r59201 378 378 * @return WP_Block_Template|WP_Error The registered template object on success, WP_Error object on failure. 379 379 */ 380 function wp_register_block_template( $template_name, $args = array() ) {380 function register_block_template( $template_name, $args = array() ) { 381 381 return WP_Block_Templates_Registry::get_instance()->register( $template_name, $args ); 382 382 } … … 391 391 * template doesn't exist. 392 392 */ 393 function wp_unregister_block_template( $template_name ) {393 function unregister_block_template( $template_name ) { 394 394 return WP_Block_Templates_Registry::get_instance()->unregister( $template_name ); 395 395 }
Note: See TracChangeset
for help on using the changeset viewer.