浏览代码

:recycle: exposing all blocks temporarily

tags/1.0.1^2^2
J 3 年前
父节点
当前提交
0e7804cf96
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      plugins/cia-endpoints/includes/class.make-endpoint.php

+ 1
- 0
plugins/cia-endpoints/includes/class.make-endpoint.php 查看文件

@@ -95,6 +95,7 @@ class Make_Endpoint_For extends WP_REST_Controller {
95 95
             $filtered[galleries] = get_ids_from_gallery_block(
96 96
                 parse_blocks($item->post_content)
97 97
             );
98
+            $filtered[blocks] = parse_blocks($item->post_content);
98 99
             $filtered[attached] = get_images_from_content($item->post_content);
99 100
             $filtered[relatedto] = p2p_related_to( $item->ID, false );
100 101
             array_push($collection, $filtered);

正在加载...
取消
保存