Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
WC_Dummy_Data_Store_CPT
PHP Class WC_Dummy_Data_Store_CPT
Used to test swapping out data stores.
Author:
WooThemes
Inheritance:
implements
WC_Object_Data_Store_Interface
显示文件
Open project: woocommerce/woocommerce
Public Methods
Method
Description
add_meta
( &
$data
,
$meta
)
create
( &
$data
)
delete
( &
$data
,
$args
= [] )
delete_meta
( &
$data
,
$meta
)
read
( &
$data
)
read_meta
( &
$data
)
update
( &
$data
)
update_meta
( &
$data
,
$meta
)
Method Details
add_meta()
public
method
public
add_meta
( &
$data
,
$meta
)
create()
public
method
public
create
( &
$data
)
delete()
public
method
public
delete
( &
$data
,
$args
= [] )
delete_meta()
public
method
public
delete_meta
( &
$data
,
$meta
)
read()
public
method
public
read
( &
$data
)
read_meta()
public
method
public
read_meta
( &
$data
)
update()
public
method
public
update
( &
$data
)
update_meta()
public
method
public
update_meta
( &
$data
,
$meta
)