WordPress.org

Ready to get started?Download WordPress

Forums

Media Category Library
[resolved] Add new tab in meta box in edit media section (2 posts)

  1. austinpray
    Member
    Posted 1 year ago #

    On a particular piece of media when I am on the edit media view:
    http://cl.austin.pe/image/380o3L0x3j0F
    The Media Category Library meta box on the page has two tabs "All Media Categories" and "Most Used."

    What hook is Media Category Library using to add that meta box? Where is that code in the source? In the end I want to create my own little tab in that box with some favorite categories.

    http://wordpress.org/plugins/media-category-library/

  2. timmcdaniels
    Member
    Plugin Author

    Posted 2 months ago #

    Hi Austin,

    Sorry for the delay in response. The plugin is using a taxonomy, like this:

    register_taxonomy( 'taxonomy_name', 'attachment', $args );
    register_taxonomy_for_object_type( 'taxonomy_name', 'attachment' );

    Thanks,

    Tim

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.