woocommerce_get_attachment_image_attributes()
Устарела с версии 3.0. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.
Хуков нет.
Возвращает
array.
Использование
woocommerce_get_attachment_image_attributes( $attr );
- $attr(обязательный)
- .
Список изменений
| Устарела с | 3.0 |
Код woocommerce_get_attachment_image_attributes() woocommerce get attachment image attributes WC 11.2.2
function woocommerce_get_attachment_image_attributes( $attr ) {
wc_deprecated_function( __FUNCTION__, '3.0', 'wc_get_attachment_image_attributes' );
return wc_get_attachment_image_attributes( $attr );
}