WordPress at Your Fingertips
function is not described

WC_Admin_Exporters::add_to_menus() public WC 1.0

Add menu items for our custom exporters.

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Admin_Exporters = new WC_Admin_Exporters();
$WC_Admin_Exporters->add_to_menus();

Code of WC_Admin_Exporters::add_to_menus() WC 5.9.0

public function add_to_menus() {
	foreach ( $this->exporters as $id => $exporter ) {
		add_submenu_page( $exporter['menu'], $exporter['name'], $exporter['name'], $exporter['capability'], $id, $exporter['callback'] );
	}
}