bp_media_get_gif_api_key( string $default = '' )
Return GIFs API Key
Description
Parameters
- $default
-
(Optional) Fallback value if not found in the database. Default: true.
Default value: ''
Return
(GIF) Api Key if, empty string.
Source
File: bp-media/bp-media-settings.php
function bp_media_get_gif_api_key( $default = '' ) {
/**
* Filters whether GIF key.
*
* @since BuddyBoss 1.0.0
*
* @param GIF Api Key if, empty sting.
*/
return apply_filters( 'bp_media_get_gif_api_key', bp_get_option( 'bp_media_gif_api_key', $default ) );
}
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.