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

  1. johnbm
    Posted 5 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
    Posted 5 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


No tags yet.