Changeset 54380
- Timestamp:
- 10/04/2022 04:27:33 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template-utils.php
r54370 r54380 1060 1060 1061 1061 /** 1062 * Retrieves a single unified template object using its id. 1062 * Retrieves a unified template object based on a theme file. 1063 * 1064 * This is a fallback of get_block_template(), used when no templates are found in the database. 1063 1065 * 1064 1066 * @since 5.9.0 … … 1071 1073 function get_block_file_template( $id, $template_type = 'wp_template' ) { 1072 1074 /** 1073 * Filters the block template s array before the query takes place.1074 * 1075 * Return a non-null value to bypass the WordPress queries.1075 * Filters the block template object before the theme file discovery takes place. 1076 * 1077 * Return a non-null value to bypass the WordPress theme file discovery. 1076 1078 * 1077 1079 * @since 5.9.0 … … 1108 1110 1109 1111 /** 1110 * Filters the array of queried block templates array after they've been fetched.1112 * Filters the block template object after it has been (potentially) fetched from the theme file. 1111 1113 * 1112 1114 * @since 5.9.0
Note: See TracChangeset
for help on using the changeset viewer.