Changeset 12490 for trunk/src/bp-core/admin/bp-core-admin-functions.php
- Timestamp:
- 11/01/2019 04:18:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-functions.php
r12418 r12490 1143 1143 * 1144 1144 * @param array $categories Array of block categories. 1145 * @param WP_Post $post Post being loaded. 1146 */ 1147 function bp_block_category( $categories = array(), WP_Post $post ) { 1145 * @param object $post Post being loaded. 1146 */ 1147 function bp_block_category( $categories = array(), $post = null ) { 1148 if ( ! ( $post instanceof WP_Post ) ) { 1149 return $categories; 1150 } 1151 1148 1152 /** 1149 1153 * Filter here to add/remove the supported post types for the BuddyPress blocks category.
Note: See TracChangeset
for help on using the changeset viewer.