New column in admin advert list
-
Hi Greg,
I trying to show one more column at admin advert list. Using some actions, filter and properly functions I use existing adverts_email metadata to see the column.The action and filters are theses:
add_filter('manage_advert_posts_columns', 'email_columns_head'); add_action('manage_advert_posts_custom_column', 'email_columns_content', 10, 2);
However, this not work.The email column not show in admin advert list.
When I use:
add_filter('manage_posts_columns', 'email_columns_head'); add_action('manage_posts_custom_column', 'email_columns_content', 10, 2);
I see the column email in admin post list (because I set adverts_email in post, for the test).
Why that works to post type post but not to advert post type? This is expected that action/filter works fine to custom post type. Can you help me?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘New column in admin advert list’ is closed to new replies.