apply_filters( 'bp_block_category_post_types', array $value )

Filter here to add/remove the supported post types for the BuddyPress blocks category.

Description

Parameters

$value

(array) The list of supported post types. Defaults to WordPress built-in ones.

Source

File: bp-core/admin/bp-core-admin-functions.php

Changelog

Changelog
Version Description
5.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.