Skip to content

Commit

Permalink
235: updated filters in documentation/admin-ui.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSingh3 committed Jan 3, 2022
1 parent f970175 commit 8a3a1aa
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions documentation/admin-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,13 @@ Both tag will be replaced by a link element with a href to the cookiebot setting

On top of that, there are also few filters to manipulate the placeholders:

#### Twitter

- ```add_filter('cookiebot_addons_embed_twitter_source', $source)```

This filter is used to manipulate the source attribute for twitter videos

- ```add_filter('cookiebot_addons_embed_twitter_placeholder', $content, $source, $cookie_types)```

This filter is used to manipulate the placeholder output

#### Youtube, Vimeo and Facebook

- ```add_filter('cookiebot_addons_embed_source', $source)```
- ```add_filter('cybot_cookiebot_addons_embed_source', $source)```

This filter is used to manipulate the source attribute for embedded video

- ```add_filter('cookiebot_addons_embed_placeholder', $content, $source, $cookie_types)```
- ```add_filter('cybot_cookiebot_addons_embed_placeholder', $content, $source, $cookie_types)```

This filter is used to manipulate the placeholder output

Expand Down

0 comments on commit 8a3a1aa

Please sign in to comment.