bp_activity_admin_edit_metabox_userid( object $item )
User ID metabox for the Activity admin edit screen.
Description
Parameters
- $item
-
(Required) Activity item.
Source
File: bp-activity/bp-activity-admin.php
function bp_activity_admin_edit_metabox_userid( $item ) { ?> <label class="screen-reader-text" for="bp-activities-userid"><?php /* translators: accessibility text */ _e( 'Author ID', 'buddyboss' ); ?></label> <input type="number" name="bp-activities-userid" id="bp-activities-userid" value="<?php echo esc_attr( $item->user_id ); ?>" min="1" /> <?php }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.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.