amp_mobile_user_agents

apply_filters( 'amp_mobile_user_agents',  string[] $user_agents )

Description #

Filters the list of user agents used to determine if the user agent from the current request is a mobile one.


Parameters #

$user_agents

(string[]) List of mobile user agent search strings (and regex patterns).



Changelog #

Changelog
Version Description
2.0 Introduced.