Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
WC_Post_Data
sync_product_stock_status
WC_Post_Data::sync_product_stock_status PHP Method
WC_Post_Data Class Documentation
Mostrar archivo
Open project: woocommerce/woocommerce
sync_product_stock_status()
public
static
method
When setting stock level, ensure the stock status is kept in sync.
Deprecation:
public
static
sync_product_stock_status
(
integer
$meta_id
,
integer
$object_id
,
string
$meta_key
,
mixed
$meta_value
)
$meta_id
integer
$object_id
integer
$meta_key
string
$meta_value
mixed
public static function sync_product_stock_status($meta_id, $object_id, $meta_key, $meta_value) { }
WC_Post_Data
deferred_product_sync
delete_order_downloadable_permissions
delete_order_items
delete_post
delete_product_query_transients
edit_term
edited_term
init
process_product_file_download_paths
set_object_terms
sync_product_stock_status
transition_post_status
trash_post
untrash_post
update_order_item_metadata
update_post_metadata
variation_post_link
wp_insert_post_data