WordPress.org

Ready to get started?Download WordPress

Forums

add_meta_box: $context and $priority values (2 posts)

  1. johnbm
    Member
    Posted 4 years ago #

    Hi all

    I recently found a code sample which uses the value 'core' for the $priority argument. Interestingly, the WP function reference for add_meta_box() doesn't list anything like that. Does it exists?

    Along this I was wondering what is the difference between $priority='low' and $priority='default'.

    And also if it makes any difference in the order of the meta boxes if the $priority arguments are used with $context='normal' or $context='side'. Besides of course the varying column.

    Unfortunately there isn't much information covering this topic but I'm sure some of you can help :)

  2. s_ha_dum
    Member
    Posted 4 years ago #

    The 'core' value is used in the WP core files. Look in 'wp-admin/edit-form-advanced.php'.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.