WPDev.one
Core Function
View Source on Trac ↗

_filter_do_shortcode_context()

_filter_do_shortcode_context( )

Filter the `wp_get_attachment_image_context` hook during shortcode rendering.

Return Value

(string)
The filtered context value for wp_get_attachment_images when doing shortcodes.

Function Information

Since Version
6.3.0
Source File
wp-includes/shortcodes.php
Advertisement