Filters the context in which wp_get_attachment_image() is used.
Parameters
$contextstring- The context. Default
'wp_get_attachment_image'.
Source
$context = apply_filters( 'wp_get_attachment_image_context', 'wp_get_attachment_image' );
Changelog
| Version | Description |
|---|---|
| 6.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.