[Product Block Editor] Add post_password
parameter to the Woo product REST api
#39128
Closed
2 tasks
Labels
focus: new product ux
revamped product management experience
plugin: woocommerce
Issues related to the WooCommerce Core plugin.
As part of #38823 we are creating a new tab that includes a product password field, to protect the product.
Currently the WooCommerce REST api does not have support for a password field, and this can only be accessible by using the
core
data store for posts.We should add support for this by adding a
post_password
property, as theWC_Product
class already has the logic in place for this, see:$product->get_post_password( $context );
andset_post_password
.It is fine to add this as part of
version3
Acceptance criteria
post_password
param as part of the datapost_password
field.The text was updated successfully, but these errors were encountered: