Skip to content

Filter: apple_news_markdown_hyperlink

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_markdown_hyperlink', string $url )

Modifies the URL for a specific hyperlink if for some reason it needed to be reformatted for Apple News, such as to add tracking parameters to track traffic originating from Apple News.

Parameters

$url

(string) The URL to be filtered.

Source

includes/apple-exporter/class-markdown.php

Clone this wiki locally