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

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

WC_Post_Data::delete_post()

Method: Removes variations etc belonging to a deleted post, and clears transients.

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

Used by 0 functions | Uses 2 functions

WC_Post_Data::trash_post()

Method: Trash post.

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

Used by 0 functions | Uses 3 functions

WC_Post_Data::untrash_post()

Method: Untrash post.

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

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