Skip to content

2. List of all Jigoshop actions

Krzysztof Kasowski edited this page Jan 21, 2016 · 1 revision

Actions

do_action

  • src
    • JigoshopInit.php
      • do_action('jigoshop\plugins\configure', $this->container);
      • do_action('jigoshop\init', $this->container);
  • src\Jigoshop
    • Integration.php
      • do_action('receipt_'.$_GET['receipt'], $order->getId());
      • do_action('jigoshop_product_write_panel_tabs');
      • do_action('product_write_panel_tabs');
      • do_action('jigoshop_product_write_panels');
      • do_action('product_write_panels');
      • do_action('jigoshop_process_product_meta', $product->getId());
      • do_action('jigoshop_process_product_meta_'.$product->getType(), $product->getId());
      • do_action('jigoshop_product_tabs', $currentTab);
      • do_action('jigoshop_product_tab_panels');
      • do_action('jigoshop_template_single_summary', $post, new \jigoshop_product($product));
      • do_action('jigoshop_before_single_product_summary', $post, new \jigoshop_product($product));
      • do_action('jigoshop_before_single_product_summary_thumbnails', $post, new \jigoshop_product($product));
      • do_action('jigoshop_product_pricing_options');
      • do_action('jigoshop_before_add_to_cart_form_button');
      • do_action('jigoshop_before_shop_loop');
      • do_action('jigoshop_after_shop_loop');
      • do_action('jigoshop_new_order', $id);
      • do_action('order_status_pending', $order->getId());
      • do_action('order_status_on-hold', $order->getId());
      • do_action('order_status_on_hold', $order->getId());
      • do_action('order_status_processing', $order->getId());
      • do_action('order_status_completed', $order->getId());
      • do_action('order_status_cancelled', $order->getId());
      • do_action('order_status_refunded', $order->getId());
      • do_action('jigoshop_before_order_customer_details', $order->getId());
      • do_action('jigoshop_after_review_order_items');
      • do_action('jigoshop_review_order_after_submit');
  • src\Jigoshop\Helper
    • Product.php
      • do_action('jigoshop\helper\product\cart_form\before', $product, $template);
      • do_action('jigoshop\helper\product\print_cart_form', $product->getType(), $product, $template);
      • do_action('jigoshop\helper\product\cart_form\after', $product, $template);
  • templates\admin\orders
    • totals.php
      • do_action('jigoshop\admin\orders\totals\after_shipping');
  • templates\admin\product\box
    • advanced.php
      • do_action('jigoshop\product\tabs\advanced', $product);
    • attributes.php
      • do_action('jigoshop\product\tabs\attributes', $product);
    • downloads.php
      • do_action('jigoshop\product\tabs\downloads', $product);
    • files.php
      • do_action('additional_downloadable_product_type_options');
    • general.php
      • do_action('jigoshop\product\tabs\general', $product);
    • sales.php
      • do_action('jigoshop\product\tabs\sales', $product);
    • stock.php
      • do_action('jigoshop\product\tabs\stock', $product);
    • variations.php
      • do_action('jigoshop\product\tabs\variations', $product);
  • templates\admin\product\box\attributes
    • attribute.php
      • do_action('jigoshop\admin\product\attribute\options', $attribute);
  • templates\admin\product\box\variations
    • variation.php
      • do_action('jigoshop\admin\variation', $variation, $product);
  • templates\layout
    • default.php
      • do_action('jigoshop\shop\content\before');
      • do_action('jigoshop\shop\content\after');
      • do_action('jigoshop\sidebar');
    • twentyfifteen.php
      • do_action('jigoshop\shop\content\before');
      • do_action('jigoshop\shop\content\after');
      • do_action('jigoshop\sidebar');
    • twentyfourteen.php
      • do_action('jigoshop\shop\content\before');
      • do_action('jigoshop\shop\content\after');
      • do_action('jigoshop\sidebar');
    • twentythirteen.php
      • do_action('jigoshop\shop\content\before');
      • do_action('jigoshop\shop\content\after');
      • do_action('jigoshop\sidebar');
    • woothemes.php
      • do_action('jigoshop\shop\content\before');
      • do_action('jigoshop\shop\content\after');
      • do_action('jigoshop\sidebar');
  • templates\shop
    • cart.php
      • do_action('jigoshop\cart\table_head', $cart);
      • do_action('jigoshop\cart\table_body', $cart);
      • do_action('cart-collaterals', $cart);
    • checkout.php
      • do_action('jigoshop\checkout\table_head', $cart);
      • do_action('jigoshop\checkout\table_body', $cart);
      • do_action('jigoshop\template\shop\checkout\before_tax');
      • do_action('jigoshop\template\shop\checkout\before_total');
      • do_action('jigoshop\template\checkout\after', $cart);
    • list.php
      • do_action('jigoshop\template\shop\list\before');
      • do_action('jigoshop\template\shop\list\after');
    • product.php
      • do_action('jigoshop\template\product\before', $product);
      • do_action('jigoshop\template\product\before_summary', $product);
      • do_action('jigoshop\template\product\data', $product);
      • do_action('jigoshop\template\product\summary', $product);
      • do_action('jigoshop\template\product\after_summary', $product);
      • do_action('jigoshop\template\product\after', $product);
  • templates\shop\checkout
    • pay.php
      • do_action('jigoshop\checkout\table_head', $order);
      • do_action('jigoshop\checkout\table_body', $order);
    • thanks.php
      • do_action('jigoshop\checkout\table_head', $order);
      • do_action('jigoshop\checkout\table_body', $order);
  • templates\shop\list
    • product.php
      • do_action('jigoshop\shop\list\product\before', $product);
      • do_action('jigoshop\shop\list\product\before_title', $product);
      • do_action('jigoshop\shop\list\product\before_title', $product);
      • do_action('jigoshop\shop\list\product\after_title', $product);
      • do_action('jigoshop\shop\list\product\after', $product);
  • templates\shop\product
    • images.php
      • do_action('jigoshop\template\product\before_featured_image', $product);
      • do_action('jigoshop\template\product\before_thumbnails', $product);
      • do_action('jigoshop\template\product\after_thumbnails', $product);
    • tabs.php
      • do_action('jigoshop\template\product\tabs', $currentTab, $product);
      • do_action('jigoshop\template\product\tab_panels', $currentTab, $product);
  • templates\shop\product\cart
    • downloadable.php
      • do_action('jigoshop\template\product\before_cart', $product);
    • external.php
      • do_action('jigoshop\template\product\before_cart', $product);
    • simple.php
      • do_action('jigoshop\template\product\before_cart', $product);
    • variable.php
      • do_action('jigoshop\template\product\before_cart', $product);
  • templates\user
    • account.php
      • do_action('jigoshop\user\account', $customer);
  • templates\user\account\orders
    • single.php
      • do_action('jigoshop\template\account\orders\single\before_customer', $order);
      • do_action('jigoshop\template\account\orders\single\before_details', $order);
      • do_action('jigoshop\checkout\table_head', $order);
      • do_action('jigoshop\checkout\table_body', $order);
      • do_action('jigoshop\template\account\orders\single\before_totals', $order);
  • templates\widget\cart
    • widget.php
      • do_action('jigoshop_widget_cart_before_buttons');
  • templates\widget\user_login
    • log_in.php
      • do_action('jigoshop_widget_login_before_form');
      • do_action('jigoshop_widget_login_after_form');
    • logged_in.php
      • do_action('jigoshop_widget_login_after_form');

doAction

  • src\Jigoshop
    • Admin.php
      • $this->wp->doAction('jigoshop\admin\before_menu');
      • $this->wp->doAction('jigoshop\admin\after_menu');
    • Api.php
      • $this->wp->doAction('jigoshop_api_' . $endpoint);
    • Core.php
      • $this->wp->doAction('jigoshop\run', $container);
  • src\Jigoshop\Admin
    • Migration.php
      • $this->wp->doAction('jigoshop\migration\before', $tool);
    • PageResolver.php
      • $this->wp->doAction('jigoshop\admin\page_resolver\before');
    • Settings.php
      • $this->wp->doAction('jigoshop\admin\settings\form_field\' . $field['type'], $field);
    • SystemInfo.php
      • $this->wp->doAction('jigoshop\admin\settings\form_field\' . $field['type'], $field);
  • src\Jigoshop\Admin\Page
    • Coupon.php
      • $wp->doAction('jigoshop\admin\coupon\assets', $wp);
    • Coupons.php
      • $wp->doAction('jigoshop\admin\coupons\assets', $wp);
    • Email.php
      • $wp->doAction('jigoshop\admin\email\assets', $wp);
    • Product.php
      • $wp->doAction('jigoshop\admin\product\assets', $wp);
      • $this->wp->doAction('jigoshop\admin\product_attribute\add', $attribute, $product);
    • ProductCategories.php
      • $wp->doAction('jigoshop\admin\product_categories\assets', $wp);
    • Products.php
      • $wp->doAction('jigoshop\admin\products\assets', $wp);
    • ProductTags.php
      • $wp->doAction('jigoshop\admin\product_tags\assets', $wp);
  • src\Jigoshop\Admin\Reports
    • CustomersTab.php
      • $this->wp->doAction('jigoshop/admin/reports/customers/custom_content', $this->getCurrentType(), $this->wp, $this->options);
    • SalesTab.php
      • $this->wp->doAction('jigoshop/admin/reports/sales/custom_chart', $this->getCurrentType(), $this->wp, $this->options);
    • StockTab.php
      • $this->wp->doAction('jigoshop/admin/reports/stock/custom_content', $this->getCurrentType(), $this->wp, $this->options);
  • src\Jigoshop\Api
    • DownloadFile.php
      • $this->wp->doAction('jigoshop\downloadable\before_download', $file, $order);
  • src\Jigoshop\Core\Types
    • Coupon.php
      • $wp->doAction('jigoshop\coupon\type\init', $wp);
    • Email.php
      • $wp->doAction('jigoshop\email\type\init', $wp);
    • Product.php
      • $wp->doAction('jigoshop\product\type\init', $wp, $this->enabledTypes);
  • src\Jigoshop\Core\Types\Product
    • Variable.php
      • $this->wp->doAction('jigoshop\admin\product_variation\add', $variation);
      • $this->wp->doAction('jigoshop\admin\product_variation\save', $variation);
  • src\Jigoshop\Entity
    • Order.php
      • $this->wp->doAction('jigoshop\order\remove_item', $item, $this);
      • $this->wp->doAction('jigoshop\order\add_item', $item, $this);
  • src\Jigoshop\Frontend
    • PageResolver.php
      • $this->wp->doAction('jigoshop\page_resolver\before');
  • src\Jigoshop\Frontend\Page
    • Account.php
      • $this->wp->doAction('jigoshop\account\assets', $wp);
    • Checkout.php
      • $this->wp->doAction('jigoshop\checkout\payment', $payment);
      • $this->wp->doAction('register_post', $email, $email, $errors);
      • $this->wp->doAction('jigoshop\checkout\created_account', $id);
    • Product.php
      • $wp->doAction('jigoshop\product\assets', $wp);
  • src\Jigoshop\Frontend\Page\Account
    • ChangePassword.php
      • $this->wp->doAction('jigoshop\account\assets', $wp);
    • EditAddress.php
      • $this->wp->doAction('jigoshop\account\assets', $wp);
    • Orders.php
      • $this->wp->doAction('jigoshop\account\orders\assets', $wp);
  • src\Jigoshop\Frontend\Page\Checkout
    • Pay.php
      • $wp->doAction('jigoshop\checkout\pay\assets', $wp);
    • ThankYou.php
      • $wp->doAction('jigoshop\checkout\thank_you\assets', $wp);
  • src\Jigoshop\Service
    • CartService.php
      • $this->wp->doAction('jigoshop\service\cart');
      • $this->wp->doAction('jigoshop\service\cart\payment', $payment);
      • $this->wp->doAction('jigoshop\service\cart\shipping', $shipping);
    • CouponService.php
      • $this->wp->doAction('jigoshop\service\coupon\save', $object);
    • EmailService.php
      • $this->wp->doAction('jigoshop\service\email\save', $object);
    • OrderService.php
      • $this->wp->doAction('jigoshop\order\before\' . $object->getStatus(), $object);
      • $this->wp->doAction('jigoshop\service\order\new', $id);
      • $this->wp->doAction('jigoshop\order\' . $messages['old_status'] . 'to' . $messages['new_status'], $object);
      • $this->wp->doAction('jigoshop\product\sold', $item->getProduct(), $item->getQuantity(), $item);
      • $this->wp->doAction('jigoshop\service\order\save', $object);
      • $this->wp->doAction('jigoshop\order\after\' . $object->getStatus(), $object);
      • $this->wp->doAction('jigoshop\product\out_of_stock', $product);
      • $this->wp->doAction('jigoshop\product\low_stock', $product);
    • ProductService.php
      • $this->wp->doAction('jigoshop\service\product\save', $object);
      • $this->wp->doAction('jigoshop\attribute\save', $attribute);
Clone this wiki locally