Function: post_tags_meta_box

post_tags_meta_box( WP_Post $post, array $box )

Display post tags form fields.

Shortcut: ptmb

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.


Name Type(s) Default Value Description
$post WP_Post

Post object.

$box array

{ Tags meta box arguments.

@type string   $id       Meta box 'id' attribute.
@type string   $title    Meta box title.
@type callable $callback Meta box display callback.
@type array    $args {
    Extra meta box arguments.

    @type string $taxonomy Taxonomy. Default 'post_tag'.


WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.