woocommerce_get_attachment_image_attributes

The WooCommerce woocommerce get attachment image attributes function.

Description

woocommerce_get_attachment_image_attributes( $attr ); 

Parameters (1)

0. $attr
The attr.

Usage

  1. if ( !function_exists( 'woocommerce_get_attachment_image_attributes' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-deprecated-functions.php'; 
  3.  
  4. // The attr. 
  5. $attr = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = woocommerce_get_attachment_image_attributes($attr); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-deprecated-functions.php  
  1. function woocommerce_get_attachment_image_attributes( $attr ) {