• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Classes / Abstract_WC_Order_Data_Store_CPT

Methods

1 to 14 of 14
  • Abstract_WC_Order_Data_Store_CPT::clear_caches() – Clear any caches.
  • Abstract_WC_Order_Data_Store_CPT::create() – Method to create a new order in the database.
  • Abstract_WC_Order_Data_Store_CPT::delete_items() – Remove all line items (products, coupons, shipping, taxes) from the order.
  • Abstract_WC_Order_Data_Store_CPT::delete() – Method to delete an order from the database.
  • Abstract_WC_Order_Data_Store_CPT::get_order_key() – Get order key.
  • Abstract_WC_Order_Data_Store_CPT::get_payment_token_ids() – Get token ids for an order.
  • Abstract_WC_Order_Data_Store_CPT::get_post_excerpt() – Excerpt for post.
  • Abstract_WC_Order_Data_Store_CPT::get_post_status() – Get the status to save to the post object.
  • Abstract_WC_Order_Data_Store_CPT::get_post_title() – Get a title for the new post type.
  • Abstract_WC_Order_Data_Store_CPT::read_items() – Read order items of a specific type from the database for this order.
  • Abstract_WC_Order_Data_Store_CPT::read_order_data() – Read order data. Can be overridden by child classes to load other props.
  • Abstract_WC_Order_Data_Store_CPT::update_payment_token_ids() – Update token ids for an order.
  • Abstract_WC_Order_Data_Store_CPT::update_post_meta() – Helper method that updates all the post meta for an order based on it’s settings in the WC_Order class.
  • Abstract_WC_Order_Data_Store_CPT::update() – Method to update an order in the database.

Extended by

Class name: Abstract_WC_Order_Data_Store_CPT
Plugin ref: WooCommerce
Version: 5.1.0
Sourcefile: includes/data-stores/abstract-wc-order-data-store-cpt.php
File ref: includes/data-stores/abstract-wc-order-data-store-cpt.php
API Letters: A,D,O,S,W

Published: 26th November 2019 | Last updated: 22nd February 2021

Primary Sidebar

Information

Class name: Abstract_WC_Order_Data_Store_CPT
Plugin ref: WooCommerce
Version: 5.1.0
Sourcefile: includes/data-stores/abstract-wc-order-data-store-cpt.php
File ref: includes/data-stores/abstract-wc-order-data-store-cpt.php
API Letters: A,D,O,S,W

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.7
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites