WordPress.org

Ready to get started?Download WordPress

Forums

Request meta_form meta_key hook (1 post)

  1. Matt Thiessen
    Member
    Posted 2 years ago #

    /wp-admin/includes/template.php
    The meta_form() function should have a hook after setting $keys to be able to modify the array of meta_keys before the HTML <options> are created. Something similar to:

    $keys = apply_filters( 'postmeta_form_meta_keys', $keys );

    The only option now is to modify the query using the query filter.

Topic Closed

This topic has been closed to new replies.

About this Topic