_wp_post_thumbnail_context_filter_add

The timeline below displays how wordpress function _wp_post_thumbnail_context_filter_add has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.3

/**
 * Adds the '_wp_post_thumbnail_context_filter' callback to the 'wp_get_attachment_image_context'
 * filter hook. Internal use only.
 *
 * @ignore
 * @since 6.3.0
 * @access private
 */
function _wp_post_thumbnail_context_filter_add()
{
    add_filter('wp_get_attachment_image_context', '_wp_post_thumbnail_context_filter');
}