• 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 APIs

__clone() – Prevent cloning.

__construct() – Constructor

__toString() – Returns node’s string representation.

__wakeup() – Prevent unserializing.

_sort_priority_callback() – Sort Priority Callback Function

_wc_get_cached_product_terms() – Cached version of wp_get_post_terms().

_wc_get_product_terms_name_num_usort_callback() – Sort by name (numeric).

_wc_get_product_terms_parent_usort_callback() – Sort by parent.

_wc_save_product_price() – Save product price.

_wc_term_recount() – Function for recounting product terms, ignoring hidden products.

_woocommerce_term_recount() –

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::read() – Method to read an order from the database.

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.

Abstract_WC_Order_Item_Type_Data_Store::clear_cache() – Clear meta cache.

Abstract_WC_Order_Item_Type_Data_Store::create() – Create a new order item in the database.

Abstract_WC_Order_Item_Type_Data_Store::delete() – Remove an order item from the database.

Abstract_WC_Order_Item_Type_Data_Store::read() – Read a order item from the database.

Abstract_WC_Order_Item_Type_Data_Store::save_item_data() – Saves an item’s data to the database / item meta.

Abstract_WC_Order_Item_Type_Data_Store::update() – Update a order item in the database.

AbstractBlock::__construct() – Constructor

AbstractBlock::enqueue_assets() – Enqueue assets used for rendering the block.

AbstractBlock::enqueue_data() – Extra data passed through from server to client for block.

AbstractBlock::enqueue_editor_assets() – Enqueue assets used for rendering the block in editor context.

AbstractBlock::enqueue_scripts() – Register/enqueue scripts used for this block.

AbstractBlock::get_html_data_attributes() – Converts block attributes to HTML data attributes.

AbstractBlock::get_skeleton_inline_script() – Script to append the correct sizing class to a block skeleton.

AbstractBlock::inject_html_data_attributes() – Injects block attributes into the block.

AbstractBlock::register_block_type() – Registers the block type with WordPress.

AbstractBlock::render() – Append frontend scripts when rendering the block.

AbstractCartRoute::get_response() – Get the route response based on the type of request.

AbstractCartRoute::get_route_error_response() – Get route response when something went wrong.

AbstractCartRoute::maybe_recalculate_totals() – If shipping/tax data has changed on the server since last calculation, trigger a recalculation now.

AbstractDependencyType::__construct() – Constructor

AbstractDependencyType::get() – Retrieves the value stored internally for this DependencyType

AbstractDependencyType::resolve_value() – Resolver for the internal dependency value.

AbstractDynamicBlock::get_attributes() – Get block attributes.

AbstractDynamicBlock::get_schema_align() – Get the schema for the alignment property.

AbstractDynamicBlock::get_schema_boolean() – Get the schema for a boolean value.

AbstractDynamicBlock::get_schema_list_ids() – Get the schema for a list of IDs.

AbstractDynamicBlock::get_schema_number() – Get the schema for a numeric value.

AbstractDynamicBlock::get_schema_string() – Get the schema for a string value.

AbstractDynamicBlock::register_block_type() – Registers the block type with WordPress.

AbstractDynamicBlock::render() – Include and render a dynamic block.

AbstractExtension::getAttributeMatchingTranslators() – {@inheritdoc}

AbstractExtension::getCombinationTranslators() – {@inheritdoc}

AbstractExtension::getFunctionTranslators() – {@inheritdoc}

AbstractExtension::getNodeTranslators() – {@inheritdoc}

AbstractExtension::getPseudoClassTranslators() – {@inheritdoc}

AbstractHandlerTest::assertRemainingContent() –

AbstractHandlerTest::assertStreamEmpty() –

AbstractHandlerTest::generateHandler() –

AbstractHandlerTest::getDontHandleValueTestData() –

AbstractHandlerTest::getHandleValueTestData() –

AbstractHandlerTest::testDontHandleValue() –

AbstractHandlerTest::testHandleValue() –

AbstractHtmlProcessor::__construct() – The constructor.

AbstractHtmlProcessor::addContentTypeMetaTag() – Adds a Content-Type meta tag for the charset.

AbstractHtmlProcessor::createRawDomDocument() – Creates a DOMDocument instance from the given HTML and stores it in $this->domDocument.

AbstractHtmlProcessor::createUnifiedDomDocument() – Creates a DOM document from the given HTML and stores it in $this->domDocument.

AbstractHtmlProcessor::ensureDocumentType() – Makes sure that the passed HTML has a document type.

AbstractHtmlProcessor::ensureExistenceOfBodyElement() – Checks that $this->domDocument has a BODY element and adds it if it is missing.

AbstractHtmlProcessor::ensurePhpUnrecognizedSelfClosingTagsAreXml() – Makes sure that any self-closing tags not recognized as such by PHP’s DOMDocument implementation have a self-closing slash.

AbstractHtmlProcessor::fromDomDocument() – Builds a new instance from the given DOM document.

AbstractHtmlProcessor::fromHtml() – Builds a new instance from the given HTML.

AbstractHtmlProcessor::getBodyElement() – Returns the BODY element.

AbstractHtmlProcessor::getDomDocument() – Provides access to the internal DOMDocument representation of the HTML in its current state.

AbstractHtmlProcessor::prepareHtmlForDomConversion() – Returns the HTML with added document type, Content-Type meta tag, and self-closing slashes, if needed, ensuring that the HTML will be good for creating a DOM document from it.

AbstractHtmlProcessor::removeSelfClosingTagsClosingTags() – Eliminates any invalid closing tags for void elements from the given HTML.

AbstractHtmlProcessor::render() – Renders the normalized and processed HTML.

AbstractHtmlProcessor::renderBodyContent() – Renders the content of the BODY element of the normalized and processed HTML.

AbstractHtmlProcessor::setDomDocument() –

AbstractHtmlProcessor::setHtml() – Sets the HTML to process.

AbstractNode::getNodeName() –

AbstractNodeTest::getSpecificityValueTestData() –

AbstractNodeTest::getToStringConversionTestData() –

AbstractNodeTest::testSpecificityValue() –

AbstractNodeTest::testToStringConversion() –

AbstractPaymentMethodType::get_name() – Returns the name of the payment method.

AbstractPaymentMethodType::get_payment_method_data() – An array of key, value pairs of data made available to payment methods client side.

AbstractPaymentMethodType::get_payment_method_script_handles_for_admin() – Returns an array of script handles to enqueue for this payment method in the admin context

AbstractPaymentMethodType::get_payment_method_script_handles() – Returns an array of script handles to enqueue for this payment method in the frontend context

AbstractPaymentMethodType::get_setting() – Get a setting from the settings array if set.

AbstractPaymentMethodType::is_active() – Returns if this payment method should be active. If false, the scripts will not be enqueued.

AbstractProductGrid::get_add_to_cart() – Get the "add to cart" button.

AbstractProductGrid::get_attributes() – Get a set of attributes shared across most of the grid blocks.

AbstractProductGrid::get_button_html() – Get the button.

AbstractProductGrid::get_container_classes() – Get the list of classes to apply to this block.

AbstractProductGrid::get_image_html() – Get the product image.

AbstractProductGrid::get_price_html() – Get the price.

  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Interim pages omitted …
  • Go to page 95
  • 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