WC_Admin_Post_Types::bulk_edit( string $column_name, string $post_type )

Custom bulk edit – form.


Description Description


Parameters Parameters

$column_name

(Required) Column being shown.

$post_type

(Required) Post type being shown.


Top ↑

Source Source

File: includes/admin/class-wc-admin-post-types.php

	public function bulk_edit( $column_name, $post_type ) {
		if ( 'price' !== $column_name || 'product' !== $post_type ) {
			return;
		}

		$shipping_class = get_terms(
			'product_shipping_class',
			array(
				'hide_empty' => false,
			)
		);

		include WC()->plugin_path() . '/includes/admin/views/html-bulk-edit-product.php';
	}


Top ↑

User Contributed Notes User Contributed Notes

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