wp_img_tag_add_decoding_attr

wp_img_tag_add_decoding_attr

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_img_tag_add_decoding_attr') is found 1 times:

  • /wp-includes/deprecated.php line 6046

    return $image;
    }

    /** This action is documented in wp-includes/media.php */
    $value = apply_filters( ‘wp_img_tag_add_decoding_attr’, ‘async’, $image, $context );

    if ( in_array( $value, array( ‘async’, ‘sync’, ‘auto’ ), true ) ) {
    $image = str_replace( ‘

wp_img_tag_add_decoding_attr - WordPress Hooks

wp_img_tag_add_decoding_attr

wp_img_tag_add_decoding_attr

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.1

apply_filters('wp_img_tag_add_decoding_attr') is found 1 times:

  • /wp-includes/media.php line 1979

    * @param string $image The HTML `img` tag to be filtered.
    * @param string $context Additional context about how the function was called
    * or where the img tag is.
    */
    $value = apply_filters( ‘wp_img_tag_add_decoding_attr’, ‘async’, $image, $context );

    if ( in_array( $value, array( ‘async’, ‘sync’, ‘auto’ ), true ) ) {
    $image = str_replace( ‘