amp_mobile_version_switcher_link_text

apply_filters( 'amp_mobile_version_switcher_link_text',  string $text )

Description #

Filters the text to be used in the mobile switcher link.

Use the amp_is_request() function to determine whether you are filtering the text for the link to go to the non-AMP version or the AMP version.


Parameters #

$text

Link text to display.



Changelog #

Changelog
Version Description
2.0 Introduced.