PHPackages                             tombroucke/otomaties-share-buttons - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tombroucke/otomaties-share-buttons

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

tombroucke/otomaties-share-buttons
==================================

1.2.3(1y ago)41.5k[8 PRs](https://github.com/tombroucke/otomaties-share-buttons/pulls)PHP

Since Dec 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tombroucke/otomaties-share-buttons)[ Packagist](https://packagist.org/packages/tombroucke/otomaties-share-buttons)[ RSS](/packages/tombroucke-otomaties-share-buttons/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (19)Used By (0)

Otomaties Share Buttons
=======================

[](#otomaties-share-buttons)

Requirements
------------

[](#requirements)

[Font Awesome](https://fontawesome.com/)

Installation
------------

[](#installation)

`composer require tombroucke/otomaties-share-buttons` &amp; activate plugin

Configuration
-------------

[](#configuration)

Customization
-------------

[](#customization)

### Filters

[](#filters)

```
otomaties_share_buttons_string_copied_link // String to display in alert
otomaties_share_buttons_string_copy_link_error // String to display in alert
otomaties_share_buttons_container_class // Buttons container class
otomaties_share_buttons_button_class // Button class
otomaties_share_buttons_button_icon // Button icon, 2nd parameter is type (e.g. facebook)
otomaties_share_buttons_button // Button output, 2nd parameter is type (e.g. facebook)
otomaties_share_buttons_output // HTML output
```

### Copy link button

[](#copy-link-button)

You could uncheck 'Display alert after copying link' in the Share buttons settings, and display a custom notification. (Example: Bootstrap 4 Toast)

```
add_filter('otomaties_share_buttons_output', function ($output) {
    ob_start();
    ?>

                &times;
