Dev Resources

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

WC_Post_Data::wp_untrash_post_status()

Method: Ensure statuses are correctly reassigned when restoring orders and products.

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

Used by 0 functions | Uses 0 functions

woocommerce_delete_variations_on_product_type_change

Filter Hook: Filter to prevent variations from being deleted while switching from a variable product type to a variable product type.

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

Used by 1 function | Uses 0 functions

WC_Post_Data::force_default_term()

Method: Ensure default category gets set.

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

Used by 0 functions | Uses 0 functions

WC_Post_Data::sync_product_stock_status()

Method: When setting stock level, ensure the stock status is kept in sync.

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

Used by 0 functions | Uses 0 functions

WC_Post_Data::process_product_file_download_paths()

Method: Update changed downloads.

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

Used by 1 function | Uses 1 function

WC_Post_Data::set_object_terms()

Method: Delete transients when terms are set.

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

Used by 0 functions | 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::filter_oembed_response_data()

Method: Change embed data for certain post types.

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

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