Filter vor CPT-Fields?
-
I use a custom field (Checkboxes) from the Plugin https://wp-types.com
They implemented their ‘own’ checkboxes to store the values and options in an data-structure.
For example two values are stored like this:
array(2) {
[“wpcf-fields-checkboxes-option-6ebee8d1b62ff1e6fc30609c9786b5ea-1”]=>
array(1) {
[0]=>
string(4) “road”
}
[“wpcf-fields-checkboxes-option-217f531cd62f8568033d4aea2c3bd24b-1”]=>
array(1) {
[0]=>
string(3) “mtb”
}
}
The names für the keys are randomly generated from wp-types.Bulk-Edit uses for this checkboxes just:
array(2) {
[0]=>
string(4) “road”
[1]=>
string(3) “mtb”
}So i am not able to bulk-change the custom post field checkboxes out of the box. I think some customization is necessary. Perhaps Bulk-Edit Plugin can provide some kind of a filter to ‘restructure’ the array, before saving it to the database.
How could i solve this problem?Thank you for pointing me in the right direction.
- The topic ‘Filter vor CPT-Fields?’ is closed to new replies.