WordPress at Your Fingertips
function is not described

WC_Settings_API::set_post_data() public WC 1.0

Sets the POSTed data. This method can be used to set specific data, instead of taking it from the $_POST array.

{} It's a method of the class: WC_Settings_API{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Settings_API = new WC_Settings_API();
$WC_Settings_API->set_post_data( $data );
$data(array)
Posted data.

Code of WC_Settings_API::set_post_data() WC 5.5.2

<?php
public function set_post_data( $data = array() ) {
	$this->data = $data;
}