apply_filters( ‘wp_get_attachment_image_context’, string $context )

In this article

Filters the context in which wp_get_attachment_image() is used.

Parameters

$contextstring
The context. Default 'wp_get_attachment_image'.

Source

* @param string $context The context. Default 'wp_get_attachment_image'.

Changelog

VersionDescription
6.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.