WC_CLI_REST_Command::set_supported_ids()
Passes supported ID arguments (things like product_id, order_id, etc) that we should look for in addition to id.
Метод класса: WC_CLI_REST_Command{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_CLI_REST_Command = new WC_CLI_REST_Command(); $WC_CLI_REST_Command->set_supported_ids( $supported_ids );
- $supported_ids(массив)
- List of supported IDs.
По умолчанию: array()
Код WC_CLI_REST_Command::set_supported_ids() WC CLI REST Command::set supported ids WC 9.6.0
public function set_supported_ids( $supported_ids = array() ) { $this->supported_ids = $supported_ids; }