Getting the warning: Missing argument 2 for manage_posts_custom_column()?

Change line 93 from

add_filter('manage_posts_custom_column', 'manage_posts_custom_column');

to

add_filter('manage_posts_custom_column', 'manage_posts_custom_column', 10, 2);

The fourth argument specifies how many arguments the function manage_posts_custom_column accepts (one by default).

Codex: add_filter()

Leave a Comment