metaslider_{type}_slider_anchor_attributes

Description

Use this filter to modify or add attributes to each slide anchor (link) tag.

{type} can be flex, coin, responsive or nivo.

Parameters

$attributes

(array) (required) Default anchor attributes (eg url, target etc).

$slide

(array) (required) Slide data

$slider_id

(int) (required) Slideshow ID

Examples

This example will automatically link each slide to it’s full image URL. {type} can be flex, coin, responsive or nivo.