amp_dev_tools_user_default_enabled

apply_filters( 'amp_dev_tools_user_default_enabled',  bool $enabled,  int $user_id )

Description #

Filters whether Developer Tools is enabled by default for a user.

When Reader mode is active, Developer Tools is currently disabled by default.


Parameters #

$enabled

DevTools enabled.

$user_id

User ID.



Changelog #

Changelog
Version Description
2.0.1 Introduced.