216 * Extract list item data from a DOM element. |
216 * Extract list item data from a DOM element. |
217 * |
217 * |
218 * Example 1: data-wp-lists="delete:the-comment-list:comment-{comment_ID}:66cc66:unspam=1" |
218 * Example 1: data-wp-lists="delete:the-comment-list:comment-{comment_ID}:66cc66:unspam=1" |
219 * Example 2: data-wp-lists="dim:the-comment-list:comment-{comment_ID}:unapproved:e7e7d3:e7e7d3:new=approved" |
219 * Example 2: data-wp-lists="dim:the-comment-list:comment-{comment_ID}:unapproved:e7e7d3:e7e7d3:new=approved" |
220 * |
220 * |
221 * Returns an unassociated array with the following data: |
221 * Returns an unassociative array with the following data: |
222 * data[0] - Data identifier: 'list', 'add', 'delete', or 'dim'. |
222 * data[0] - Data identifier: 'list', 'add', 'delete', or 'dim'. |
223 * data[1] - ID of the corresponding list. If data[0] is 'list', the type of list ('comment', 'category', etc). |
223 * data[1] - ID of the corresponding list. If data[0] is 'list', the type of list ('comment', 'category', etc). |
224 * data[2] - ID of the parent element of all inputs necessary for the request. |
224 * data[2] - ID of the parent element of all inputs necessary for the request. |
225 * data[3] - Hex color to be used in this request. If data[0] is 'dim', dim class. |
225 * data[3] - Hex color to be used in this request. If data[0] is 'dim', dim class. |
226 * data[4] - Additional arguments in query syntax that are added to the request. Example: 'post_id=1234'. |
226 * data[4] - Additional arguments in query syntax that are added to the request. Example: 'post_id=1234'. |