首页 WordPress函数大全 get_block_categories()

get_block_categories()

2020-05-01 / 5114阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

get_block_categories( WP_Post $post )

Returns all the block categories that will be shown in the block editor.

描述

参数

$post

(WP_Post)
(Required)
Post object.

返回

(array[]) Array of block categories.

大家谈论
    我的见解