WC_Admin_Webhooks_Table_List::column_cb()publicWC 1.0

Column cb.

Method of the class: WC_Admin_Webhooks_Table_List{}

No Hooks.

Return

String.

Usage

$WC_Admin_Webhooks_Table_List = new WC_Admin_Webhooks_Table_List();
$WC_Admin_Webhooks_Table_List->column_cb( $webhook );
$webhook(WC_Webhook) (required)
Webhook instance.

WC_Admin_Webhooks_Table_List::column_cb() code WC 8.9.0

public function column_cb( $webhook ) {
	return sprintf( '<input type="checkbox" name="%1$s[]" value="%2$s" />', $this->_args['singular'], $webhook->get_id() );
}