Changeset 13532 for trunk/src/bp-core/classes/class-bp-core.php
- Timestamp:
- 07/28/2023 04:15:13 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-core.php
r13507 r13532 399 399 400 400 /** 401 * Set up the component post statuses.402 *403 * @since 12.0.0404 */405 public function register_post_statuses() {406 register_post_status(407 'bp_restricted',408 array(409 'label' => _x( 'Restricted to members', '`buddypress` post type post status', 'buddypress' ),410 'public' => false,411 'internal' => true,412 )413 );414 415 parent::register_post_statuses();416 }417 418 /**419 401 * Parse the WP_Query and eventually set the BP Search mechanism. 420 402 *
Note: See TracChangeset
for help on using the changeset viewer.