Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-post-data.php / Page 2

WC_Post_Data::before_delete_order()

Method: Before deleting an order, do some cleanup.

Source: includes/class-wc-post-data.php:403

Used by 0 functions | Uses 5 functions

WC_Post_Data::delete_order_items()

Method: Remove item meta on permanent deletion.

Source: includes/class-wc-post-data.php:437

Used by 1 function | Uses 1 function

woocommerce_delete_order_items

Action Hook: Post Data

Source: includes/class-wc-post-data.php:425

Used by 0 functions | Uses 0 functions

WC_Post_Data::delete_order_downloadable_permissions()

Method: Remove downloadable permissions on permanent order deletion.

Source: includes/class-wc-post-data.php:461

Used by 1 function | Uses 2 functions

WC_Post_Data::flush_object_meta_cache()

Method: Flush meta cache for CRUD objects on direct update.

Source: includes/class-wc-post-data.php:480

Used by 0 functions | Uses 1 function

WC_Post_Data::transition_post_status()

Method: When a post status changes.

Source: includes/class-wc-post-data.php:109

Used by 0 functions | Uses 1 function

WC_Post_Data::delete_product_query_transients()

Method: Delete product view transients when needed e.g. when post status changes, or visibility/stock status is modified.

Source: includes/class-wc-post-data.php:118

Used by 3 functions | Uses 1 function

WC_Post_Data::product_type_changed()

Method: Handle type changes.

Source: includes/class-wc-post-data.php:131

Used by 0 functions | Uses 2 functions

WC_Post_Data::edit_term()

Method: When editing a term, check for product attributes.

Source: includes/class-wc-post-data.php:156

Used by 0 functions | Uses 0 functions

WC_Post_Data::edited_term()

Method: When a term is edited, check for product attributes and update variations.

Source: includes/class-wc-post-data.php:171

Used by 0 functions | Uses 0 functions
« Previous 1 2 3 Next »
Proudly powered by WordPress