bp_activity_admin_edit_metabox_link( object $item )
Primary link metabox for the Activity admin edit screen.
Description
Parameters
- $item
-
(Required) Activity item.
Source
File: bp-activity/bp-activity-admin.php
877 878 879 880 881 882 883 884 885 886 887 888 | function bp_activity_admin_edit_metabox_link( $item ) { ?> <label class = "screen-reader-text" for = "bp-activities-link" ><?php /* translators: accessibility text */ _e( 'Link' , 'buddyboss' ); ?></label> <input type= "url" name= "bp-activities-link" id= "bp-activities-link" value= "<?php echo esc_url( $item->primary_link ); ?>" aria-describedby= "bp-activities-link-description" /> <p id= "bp-activities-link-description" ><?php _e( 'Activity generated by posts and comments uses the link field for a permalink back to the content item.' , 'buddyboss' ); ?></p> <?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.