• Hi,

    I am writing a plugin and that uses custom fields.

    When the user is editing a post that has a custom field that my plugin is using then i would like it to be hidden from listing, because the plugin is already passing a checkbox that can update the meta data.

    Does anyone know how can my plugin add something like class=’hidden’ each time a meta data listing is done and the key is equal to ‘img’.?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I don’t really get the context, but I suppose you could utilize javascript, particularly DOM scripting, to achieve your purpose.

    Lets say you have a custom field called img. What I am asking is that if there is a way for a plugin to hide that custom field from being displayed while you edit a post that it’s is already set to a value.

    I was looking into something like add_filter

    A quick glance at the source code turns up no filter.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove Meta Data listing from while editing post’ is closed to new replies.