| 1 | | Hi @vineet2003, I guess this is a straightforward approach, But it may have some implications. For example, We need to find an approach that plugin/theme developers does not need to do extra thing like to add the filter, if ultimately they need to, then we can just use wp_unique_id without any additional filters, and ask plugin/theme developer to change their code to use the generated id may be in JS. So we would not introduce any extra filter to the core codebase. |
| | 1 | Hi @vineet2003, I guess this is a straightforward approach, But it may have some implications. |
| | 2 | |
| | 3 | For example, We need to find an approach that plugin/theme developers does not need to do extra thing like to add the filter, if ultimately they need to, then we can just use wp_unique_id without any additional filters, and ask plugin/theme developer to change their code to use the generated id may be in JS. So we would not introduce any extra filter to the core codebase. |
| | 4 | |
| | 5 | So, we need to find a approach that plugin/theme developer would not need to change/add something to their codebase and we can achive the desired results or, if ultimately they need to change, then we should use directly wp_unique_id() and ask them to use new ID. |