WC_Product::set_post_password( int $post_password )
Set post password.
Description Description
Parameters Parameters
- $post_password
-
(Required) Post password.
Source Source
File: includes/abstracts/abstract-wc-product.php
public function set_post_password( $post_password ) { $this->set_prop( 'post_password', $post_password ); }
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |