Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
BP_XProfile_Field::autolink_metabox()
Private method used to output autolink metabox.
Description Description
Return Return
(void) If the field does not support the feature.
Source Source
File: bp-xprofile/classes/class-bp-xprofile-field.php
private function autolink_metabox() { ?> <div class="postbox"> <h2><?php esc_html_e( 'Autolink', 'buddypress' ); ?></h2> <div class="inside"> <p class="description"><?php esc_html_e( 'On user profiles, link this field to a search of the Members directory, using the field value as a search term.', 'buddypress' ); ?></p> <p> <label for="do-autolink" class="screen-reader-text"><?php /* translators: accessibility text */ esc_html_e( 'Autolink status for this field', 'buddypress' ); ?></label> <select name="do_autolink" id="do-autolink"> <option value="on" <?php selected( $this->get_do_autolink() ); ?>><?php esc_html_e( 'Enabled', 'buddypress' ); ?></option> <option value="" <?php selected( $this->get_do_autolink(), false ); ?>><?php esc_html_e( 'Disabled', 'buddypress' ); ?></option> </select> </p> </div> </div> <?php }
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |