block_categories

Advertisement

Summery Summery

Filter the default array of block categories.

Syntax Syntax

apply_filters( 'block_categories', array[] $default_categories, WP_Post $post )

Parameters Parameters

$default_categories

(array[]) Array of block categories.

$post

(WP_Post) Post being loaded.

Source Source

File: wp-admin/includes/post.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.