wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_get_attachment_image_context › WordPress Filter Hooks

Since6.3.0
Deprecatedn/a
apply_filters( 'wp_get_attachment_image_context', 'wp_get_attachment_image' )
Parameters:
  • () context The context. Default 'wp_get_attachment_image'.
    Required: Yes
Defined at:
Codex:

Filters the context in which wp_get_attachment_image() is used.





Source

$context = apply_filters( 'wp_get_attachment_image_context', 'wp_get_attachment_image' );