ASA2 - The Amazon Affiliate Plugin for WordPress Logo
1.20.0

Preparations

  • Introduction
  • Requirements
  • Installation
  • Kickstarter Guide for ASA2 Switchers
  • First steps

Main Menu

  • Dashboard
  • Products
  • Shops

Subsections

  • Setup
  • Options
  • Templates
  • Collections
  • Notifications
  • Testsuite
  • Ratings
  • Keywords
  • Import
  • Widgets

Embed Products

  • Product Picker
  • Shortcodes

Templates

  • Managed Templates
  • Template Syntax
  • Placeholders

Advanced

  • Cronjobs
  • Caching
  • Local images
  • Internationalization (i18n)
  • PHP functions
    • Renderer
    • API requests
    • GEO location
  • Appendix
ASA2 - The Amazon Affiliate Plugin for WordPress
  • PHP functions
  • Back to ASA2

PHP functions¶

For a complete list of ASA2’s PHP functions, check the API documentation.

ASA2 API documentation

Here you can find detailed code examples of some functions.

  • Renderer
    • Asa2_Renderer_Asin::render
    • asa2_render_product
    • asa2_render_asin()
    • Asa2_Renderer_Collection::render
    • asa2_render_collection()
    • Asa2_Module_Repo_Renderer_SmartCollection::render
    • asa2_render_smart_collection()
  • API requests
    • Asa2_Service::itemLookup
    • asa2_item_lookup
  • GEO location
    • Asa2_Module_Premium_GeoIp::getUserCountryIsoCode()
    • asa2_i18n_get_user_country_iso_code()
    • Asa2_Module_Premium_GeoIp::getStoreSafeUserCountryIsoCode()
    • asa2_i18n_get_store_safe_user_country_iso_code()
    • Asa2_Module_Premium_GeoIp::getData()
    • asa2_i18n_get_user_data()
Next Previous

Get ASA2

 

© Copyright 2024, getasa2.com.

Sphinx theme provided by Read the Docs