Forums

Remove Meta Data listing from while editing post (4 posts)

  1. Constantinos Kouloumbris
    Member
    Posted 6 years ago #

    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'.?

  2. Joshua Sigar
    Member
    Posted 6 years ago #

    I don't really get the context, but I suppose you could utilize javascript, particularly DOM scripting, to achieve your purpose.

  3. Constantinos Kouloumbris
    Member
    Posted 6 years ago #

    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

  4. Joshua Sigar
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.