xclusive_share_botton_links

Description

The “xclusive_share_botton_links” filter allows to modify the share links. Version 1.1.0+.

A plugin (or theme) can add a filter with the code:

<?php add_filter( 'xclusive_share_botton_links', 'filter_function_name' ); ?>

The hook is located in the _inc/image-store.php file.

Example

// apply filter
function filter_xclusive_share_botton_links( $links ) {
$links['rd'] = array( 'name' => __( 'Reddit' ), 'url' => '//www.reddit.com/submit?url=' );
return $links;
}
add_filter('xclusive_share_botton_links', 'filter_xclusive_share_botton_links', 20, 2);

Note: $links is an array.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *