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

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
  • _
  • #
  • $
  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • I
  • J
  • K
  • L
  • M
  • N
  • O
  • P
  • Q
  • R
  • S
  • T
  • U
  • V
  • W
  • X
  • Y
  • Z
Home / Archives for S

S

WC_Countries::get_shipping_countries() – Get countries that the store ships to.

WC_Countries::get_shipping_country_states() – Get shipping country states.

WC_Countries::get_states() – Get the states for a country.

WC_Countries::load_country_states() – Load the states.

WC_Countries::shipping_to_prefix() – Gets the correct string for shipping – either ‘to the’ or ‘to’.

WC_Coupon_Data_Store_CPT

WC_Coupon_Data_Store_CPT::add_coupon_used_by() – Helper function to add a `_used_by` record to track coupons used by the user.

WC_Coupon_Data_Store_CPT::check_and_hold_coupon_for_user() – Check and records coupon usage tentatively for passed user aliases for short period of time so that counts validation is correct. Returns early if there is no limit per user for the coupon.

WC_Coupon_Data_Store_CPT::check_and_hold_coupon() – Check and records coupon usage tentatively for short period of time so that counts validation is correct. Returns early if there is no limit defined for the coupon.

WC_Coupon_Data_Store_CPT::create() – Method to create a new coupon in the database.

WC_Coupon_Data_Store_CPT::decrease_usage_count() – Decrease usage count for current coupon.

WC_Coupon_Data_Store_CPT::delete() – Deletes a coupon from the database.

WC_Coupon_Data_Store_CPT::get_code_by_id() – Return a coupon code for a specific ID.

WC_Coupon_Data_Store_CPT::get_ids_by_code() – Return an array of IDs for for a specific coupon code.

WC_Coupon_Data_Store_CPT::get_tentative_held_time() – Get held time for resources before cancelling the order. Use 60 minutes as sane default.

WC_Coupon_Data_Store_CPT::get_tentative_usage_count() – Returns tentative usage count for coupon.

WC_Coupon_Data_Store_CPT::get_tentative_usage_query_for_user() – Generate query to calculate tentative usages for the coupon by the user.

WC_Coupon_Data_Store_CPT::get_tentative_usage_query() – Generate query to calculate tentative usages for the coupon.

WC_Coupon_Data_Store_CPT::get_tentative_usages_for_user() – Get tentative coupon usages for user.

WC_Coupon_Data_Store_CPT::get_usage_by_email() – Get the number of uses for a coupon by email address

WC_Coupon_Data_Store_CPT::get_usage_by_user_id() – Get the number of uses for a coupon by user ID.

WC_Coupon_Data_Store_CPT::increase_usage_count() – Increase usage count for current coupon.

WC_Coupon_Data_Store_CPT::read() – Method to read a coupon.

WC_Coupon_Data_Store_CPT::update_post_meta() – Helper method that updates all the post meta for a coupon based on it’s settings in the WC_Coupon class.

WC_Coupon_Data_Store_CPT::update_usage_count_meta() – Increase or decrease the usage count for a coupon by 1.

WC_Coupon_Data_Store_CPT::update() – Updates a coupon in the database.

WC_Coupon::get_exclude_sale_items() – If this coupon should exclude items on sale.

WC_Coupon::get_free_shipping() – If this coupon grants free shipping or not.

WC_Coupon::set_amount() – Set amount.

WC_Coupon::set_code() – Set coupon code.

WC_Coupon::set_date_created() – Set date_created

WC_Coupon::set_date_expires() – Set expiration date.

WC_Coupon::set_date_modified() – Set date_modified

WC_Coupon::set_description() – Set coupon description.

WC_Coupon::set_discount_type() – Set discount type.

WC_Coupon::set_email_restrictions() – Set email restrictions.

WC_Coupon::set_exclude_sale_items() – Set if this coupon should excluded sale items or not.

WC_Coupon::set_excluded_product_categories() – Set the product category IDs this coupon cannot be used with.

WC_Coupon::set_excluded_product_ids() – Set the product IDs this coupon cannot be used with.

WC_Coupon::set_free_shipping() – Set if this coupon enables free shipping or not.

WC_Coupon::set_individual_use() – Set if this coupon can only be used once.

WC_Coupon::set_limit_usage_to_x_items() – Set usage limit to x number of items.

WC_Coupon::set_maximum_amount() – Set the maximum spend amount.

WC_Coupon::set_minimum_amount() – Set the minimum spend amount.

WC_Coupon::set_product_categories() – Set the product category IDs this coupon can be used with.

WC_Coupon::set_product_ids() – Set the product IDs this coupon can be used with.

WC_Coupon::set_usage_count() – Set how many times this coupon has been used.

WC_Coupon::set_usage_limit_per_user() – Set the amount of times this coupon can be used per user.

WC_Coupon::set_usage_limit() – Set the amount of times this coupon can be used.

WC_Coupon::set_used_by() – Set which users have used this coupon.

WC_Coupon::set_virtual() – Set coupon virtual state.

WC_CSV_Batch_Exporter::set_page() – Set page.

WC_CSV_Exporter::send_content() – Set the export content.

WC_CSV_Exporter::send_headers() – Set the export headers.

WC_CSV_Exporter::set_column_names() – Set column names.

WC_CSV_Exporter::set_columns_to_export() – Set columns to export.

WC_CSV_Exporter::set_filename() – Set filename to export to.

WC_CSV_Exporter::set_limit() – Set batch limit.

wc_currency_settings – filter

WC_Customer_Data_Store

WC_Customer_Data_Store_Session

WC_Customer_Data_Store_Session::create() – Simply update the session.

WC_Customer_Data_Store_Session::delete() – Deletes a customer from the database.

WC_Customer_Data_Store_Session::get_last_order() – Gets the customers last order.

WC_Customer_Data_Store_Session::get_order_count() – Return the number of orders this customer has.

WC_Customer_Data_Store_Session::get_total_spent() – Return how much money this customer has spent.

WC_Customer_Data_Store_Session::read() – Read customer data from the session unless the user has logged in, in which case the stored ID will differ from the actual ID.

WC_Customer_Data_Store_Session::save_to_session() – Saves all customer data to the session.

WC_Customer_Data_Store_Session::set_defaults() – Load default values if props are unset.

WC_Customer_Data_Store_Session::update() – Simply update the session.

WC_Customer_Data_Store::create() – Method to create a new customer in the database.

WC_Customer_Data_Store::delete() – Deletes a customer from the database.

WC_Customer_Data_Store::exclude_internal_meta_keys() – Callback to remove unwanted meta data.

WC_Customer_Data_Store::get_last_order() – Gets the customers last order.

WC_Customer_Data_Store::get_order_count() – Return the number of orders this customer has.

WC_Customer_Data_Store::get_total_spent() – Return how much money this customer has spent.

WC_Customer_Data_Store::get_user_ids_for_billing_email() – Get all user ids who have `billing_email` set to any of the email passed in array.

WC_Customer_Data_Store::read() – Method to read a customer object.

WC_Customer_Data_Store::search_customers() – Search customers and return customer IDs.

WC_Customer_Data_Store::update_user_meta() – Helper method that updates all the meta for a customer. Used for update & create.

WC_Customer_Data_Store::update() – Updates a customer in the database.

WC_Customer_Download_Data_Store

WC_Customer_Download_Data_Store::create() – Create download permission for a user.

WC_Customer_Download_Data_Store::delete_by_download_id() – Method to delete a download permission from the database by download ID.

WC_Customer_Download_Data_Store::delete_by_id() – Method to delete a download permission from the database by ID.

WC_Customer_Download_Data_Store::delete_by_order_id() – Method to delete a download permission from the database by order ID.

WC_Customer_Download_Data_Store::delete_by_user_email() – Method to delete a download permission from the database by user email.

WC_Customer_Download_Data_Store::delete_by_user_id() – Method to delete a download permission from the database by user ID.

WC_Customer_Download_Data_Store::delete() – Method to delete a download permission from the database.

WC_Customer_Download_Data_Store::get_download() – Get a download object.

WC_Customer_Download_Data_Store::get_downloads_for_customer() – Get a customers downloads.

WC_Customer_Download_Data_Store::get_downloads() – Get array of download ids by specified args.

WC_Customer_Download_Data_Store::read() – Method to read a download permission from the database.

WC_Customer_Download_Data_Store::update_download_id() – Update download ids if the hash changes.

WC_Customer_Download_Data_Store::update_user_by_order_id() – Update user prop for downloads based on order id.

WC_Customer_Download_Data_Store::update() – Method to update a download in the database.

WC_Customer_Download_Log::set_permission_id() – Set permission id.

WC_Customer_Download_Log::set_timestamp() – Set timestamp.

WC_Customer_Download_Log::set_user_id() – Set user id.

WC_Customer_Download_Log::set_user_ip_address() – Set user ip address.

WC_Customer_Download::set_access_expires() – Set access_expires.

WC_Customer_Download::set_access_granted() – Set access_granted.

  • « Go to Previous Page
  • Go to page 1
  • Interim pages omitted …
  • Go to page 22
  • Go to page 23
  • Go to page 24
  • Go to page 25
  • Go to page 26
  • Interim pages omitted …
  • Go to page 46
  • Go to Next Page »

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.6
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