Filtering custom fields on wordpress admin page

Posted by Kyril on Stack Overflow See other posts from Stack Overflow or by Kyril
Published on 2010-06-06T22:48:20Z Indexed on 2010/06/06 22:52 UTC
Read the original article Hit count: 286

I'm currently working on a wordpress 2.9.2 plugin (my first) that creates additional custom fields that will later be read from the template. The plugin adds an additional meta box to the "Edit Post" screen which is responsible for manipulating these values.

My problem is that the custom fields generated by the plugin also show up in the "Custom Fields" box. Ideally I would like for the custom fields generated by the plugin to be managed separately from any other custom fields for that same post/page.

Is there a way that I can filter fields specific to my plugin to prevent them from being displayed in the "Custom Fields" box? I have yet to locate any action or filter that will let me capture and manipulate those values before they are rendered on "Edit Post".

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress