0

I have created a custom post type by the name of Teams. Listing page looks like thisenter image description here

How can I change this highlighted title label?

Is there any hook for this that you know of?

0

The list_table_primary_column hook might be the one to go with, i.e:

add_filter('list_table_primary_column', 'teams_table_primary_column', 10, 2);

function teams_table_primary_column($colname, $screen_id) {
    if($screen_id == 'teams' && $colname == 'Title') {
        return "New column name";
    }
}

Note: this is completely untested, let me know how it goes!

Reference

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.