mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Various docblock corrections for code added in 5.8.
Props johnbillion. See #53461. git-svn-id: https://develop.svn.wordpress.org/trunk@51221 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -56,9 +56,8 @@ function _build_template_result_from_post( $post ) {
|
||||
* @type array $slug__in List of slugs to include.
|
||||
* @type int $wp_id Post ID of customized template.
|
||||
* }
|
||||
* @param string $template_type wp_template.
|
||||
*
|
||||
* @return array Templates.
|
||||
* @param string $template_type Optional. The template type (post type). Default 'wp_template'.
|
||||
* @return WP_Block_Template[] Block template objects.
|
||||
*/
|
||||
function get_block_templates( $query = array(), $template_type = 'wp_template' ) {
|
||||
$wp_query_args = array(
|
||||
|
||||
Reference in New Issue
Block a user