最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

woocommerce offtopic - Where is the CSS class ui-sortable-handle for WC_Admin_Taxonomies added?

programmeradmin8浏览0评论

In WooCommerce admin view for categories/attributes we have on the right side in the table a draggable sort handler with the CSS class ui-sortable-handle. Both views, for the categories and attributes, are actually handled in WC_Admin_Taxonomies (class-wc-admin-taxonomies.php).

In the method product_cat_column() one can see that an input field is added to the column 'handle'. WC_Admin_Taxonomies leverages WP_List_Table, in there is a method single_row_columns() where classes are being added, but no trace from ui-sortable-handle.

Looking for ui-sortable-handle directly in hope to find a JQuery call adding this to the column also didn't show anything.

<td class="handle column-handle ui-sortable-handle" data-colname="" style="display: table-cell;"><input type="hidden" name="term_id" value="15"></td>
  • Where is the class ui-sortable-handle added to the td tag in the table?
  • Where is the 'missing link' in my research?

Thanks!

发布评论

评论列表(0)

  1. 暂无评论