Developer Guide
Developer Guide
Section titled “Developer Guide”BuddyPress Giphy is designed to be extended without editing plugin files. This section covers the customisation points available to theme and plugin developers.
What you can customise
Section titled “What you can customise”| Area | How |
|---|---|
| Who sees the GIF button | buddypress_giphy_show_button filter |
| GIPHY content-rating options | buddypress_giphy_gif_content_rating filter |
| GIPHY rendition options | buddypress_giphy_gif_size filter |
| Klipy content-filter options | buddypress_giphy_klipy_content_filter filter |
| Klipy rendition options | buddypress_giphy_klipy_gif_size filter |
| Admin sidebar tabs | buddypress_giphy_admin_setting_tabs filter |
| License API SSL verification | bpgp_license_api_sslverify filter |
| Reading GIF data from the REST API | bp_giphy field on activity objects |
Pages in this section
Section titled “Pages in this section”- Filter Reference: all eight extension filters with signatures and usage examples
- REST API: the
bp_giphyfield added to BuddyPress activity responses
Things this plugin does not expose
Section titled “Things this plugin does not expose”- No custom REST namespace or endpoints (it extends BuddyPress’s existing endpoints only)
- No shortcodes
- No WP-CLI commands
- No actions fired (only filters)
Data stored by the plugin
Section titled “Data stored by the plugin”GIF attachments are stored in BuddyPress activity meta:
| Meta key | Description |
|---|---|
_bp_activity_gif_data |
Array with bp_activity_gif_id and bp_activity_gif (URL). Set on the activity after a member posts with a GIF attached. |
Plugin settings are stored as a single option:
| Option key | Description |
|---|---|
bpgp_settings |
All General settings (provider, API keys, GIF count, content rating/filter, rendition, area toggles). |

