Control where plugin inserts edit page items?
-
I have a plugin that adds a field in the Write / Edit Page area using edit_page_form .
I want this field to be directly after the “Page” content editing area… before any other options.
I have tried different priorities when hooking in, but that doesn’t seem to be how to control this.
e.g.,
add_action('edit_page_form', array('wpcoupon', 'wpcoupon2page'),1);
Is there any way to precisely control where this field shows up on the edit page screen? I’m thinking… perhaps not, because what’s to keep some other person’s plugin from superceding yours…
Perhaps there is an admin plugin I haven’t found… that lets you tell WP what order to put these fields in on edit page?
Thanks
- The topic ‘Control where plugin inserts edit page items?’ is closed to new replies.