bp_media_settings_callback_gif_key()

Setting > Media > GIFs support

Description

Source

File: bp-media/bp-media-settings.php

function bp_media_settings_callback_gif_key() {
	?>
    <input type="text"
           name="bp_media_gif_api_key"
           id="bp_media_gif_api_key"
           value="<?php echo bp_media_get_gif_api_key(); ?>"
           placeholder="<?php _e( 'GIPHY API Key', 'buddyboss' ); ?>"
           style="width: 300px;"
    />
    <p class="description"><?php _e('This feature requires an account at <a href="https://developers.giphy.com/">GIPHY</a>. Create your account, and then click "Create an App". Once done, copy the API key and paste it above.', 'buddyboss') ?></p>
	<?php
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.