WC_Abstract_Privacy::register_exporters()
Integrate this exporter implementation within the WordPress core exporters.
Метод класса: WC_Abstract_Privacy{}
Хуков нет.
Возвращает
Массив
.
Использование
$WC_Abstract_Privacy = new WC_Abstract_Privacy(); $WC_Abstract_Privacy->register_exporters( $exporters );
- $exporters(массив)
- List of exporter callbacks.
По умолчанию: array()
Код WC_Abstract_Privacy::register_exporters() WC Abstract Privacy::register exporters WC 9.7.1
public function register_exporters( $exporters = array() ) { foreach ( $this->exporters as $id => $exporter ) { $exporters[ $id ] = $exporter; } return $exporters; }