WC_Product::set_post_password( int $post_password )

Set post password.


Description Description


Parameters Parameters

$post_password

(Required) Post password.


Top ↑

Source Source

File: includes/abstracts/abstract-wc-product.php

	public function set_post_password( $post_password ) {
		$this->set_prop( 'post_password', $post_password );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.