PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Add filter to `wrap_field_val` method

🎄 Holiday Notice - Support Vacation 🎄

ATTENTION: From December 28, 2025 to January 6, 2026 our support team will be on vacation.

Important information:

  • No ticket responses from December 28 to January 6
  • Support will resume on January 7, 2026
  • 📝 You can still submit tickets during vacation - they will be queued and answered starting January 7
  • ⚠️ Urgent technical issues: Please check our documentation and codex first

🎅 Season's Greetings! 🎅

We want to thank all our amazing customers for your trust and support throughout 2025!
Merry Christmas and Happy New Year to you and your families! 🎉

We wish you:

  • 🚀 Successful online stores
  • 💰 Growing sales
  • 😊 Happy customers
  • 🎯 Achieved goals in 2026

Thank you for being with us! We appreciate every one of you and look forward to continuing our work together in the new year.

Rest, recharge, and see you in 2026!

Best regards,
PluginUs.Net Team

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

At the moment, it appears that it is not possible to customize the content of a column for custom fields. In fact, while the woobe_extend_fields filter allows developers to add custom fields, the wrap_field_val method of the WOOBE class doesn't have a filter that would allow developers to customize the output of each cell for the custom fields.

For example, by modifying the last line of the wrap_field_val method from the current code:

return $res;

to

return apply_filters( 'woobe_wrap_field_val', $res, $post, $field_key, $product_type );

it would be possible to write a callback function such as:

add_filter( 'woobe_wrap_field_val', 'my_wrap_field_val', 10, 4 );
public function my_wrap_field_val( $res, $post, $field_key, $product_type ) {
    if ( $field_key ==='my_custom_field' ) {
        $data = my_function_to_collect_data( $post );
        $res = WOOBE_HELPER::render_html(
            'path/to/my/edit/view.php',
            $data
        );
    }
    return $res;
}
This proposed change would help integrate other plugins into your bulk editor in a more flexible way compared to simple meta keys.
I hope this helps.
Best,
Luigi.

Hello Luigi

Thank you for  your cooperation

I passed this to the developers

@luigipulcini

Hello Luigi

Update is done and suggested hook is there: woobe_wrap_field_val

Hello, @admin,

Thanks for your prompt action and reply on this issue. I am sure this addition can be valuable for many developers who want to integrate their code with your plugin.

Best regards,
Luigi.