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 of block categories.

$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