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::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

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

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