No author support for attachments? (1 post)

  1. Cor van Noorloos
    Posted 4 years ago #


    When trying to hide some of the post columns and meta boxes I just realized there isn't an actual author support for the attachment post type.

    add_action( 'init', 'cor_remove_attachment_author' );
    function cor_remove_attachment_author() {
      remove_post_type_support( 'attachment', 'author' );

    Which to me looks kind of strange, as there is an attachment post column.

    Being relatively new with WordPress (code-wise), could someone perhaps explain its functionality?

Topic Closed

This topic has been closed to new replies.

About this Topic