1

In my custom post type, I altered the display of the post title using the method mentioned here. But for my custom use case, I need to pass some HTML like <sup></sup>. But by default WP List Table class is designed to suppress any HTML tags using wp_strip_all_tags().

But I can see there might be a provision accepting user-defined functions using PHP's call_user_func(), but doesn't have any idea how to do that.

I want to accept certain HTML tags using wp_kses() to the titles of my CPT in a certain use case like below:

My Title2

Can it be possible?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.