ASA2 Functions
  • Package
  • Function

Packages

  • API
  • Helper
  • i18n
  • Options
  • OptionsShortcuts
  • Renderer
  • Repo

Functions

  • asa2_render_asin
  • asa2_render_collection
  • asa2_render_image
  • asa2_render_smart_collection

Function asa2_render_image

Renders a single image like shortcode [asa2_img] would do.

Example:

echo asa2_img('B01M2AYHBV', array(
'country_code' => 'UK',
'img' => 4,
'size' => 'LargeImage',
'width' => 350,
'height' => 180,
'tpl' => 'custom_img_tpl'
));
Package: Renderer
Since: 1.8.0
Located at functions.php

Parameters summary

string $asin Amazon ASIN.
array $options = array() Options defining the image to be displayed.

Return value summary

string The generated output.
ASA2 Functions API documentation generated by ApiGen