| @@ -52,12 +52,14 @@ | ||
| 52 | 52 | /** |
| 53 | 53 | * Filter the default shortcode attributes. |
| 54 | 54 | * |
| 55 | 55 | * @since 4.0.0 |
| 56 | + * @since 4.5.0 Added the `$atts` parameter. | |
| 56 | 57 | * |
| 57 | 58 | * @param array $default_atts Default shortcode attributes. |
| 59 | + * @param array $atts Shortcode attributes. | |
| 58 | 60 | */ |
| 59 | - $default_atts = apply_filters( 'tptn_shortcode_defaults', $default_atts ); | |
| 61 | + $default_atts = apply_filters( 'tptn_shortcode_defaults', $default_atts, $atts ); | |
| 60 | 62 | |
| 61 | 63 | $atts = shortcode_atts( |
| 62 | 64 | array_merge( |
| 63 | 65 | \tptn_get_settings_with_defaults(), |