WooCommerce Code Reference

WC_Meta_Box_Product_Categories

WC_Meta_Box_Product_Categories Class.

Table of Contents

output()  : mixed
Output the metabox.

Methods

output()

Output the metabox.

public static output(WP_Post $post, array<string|int, mixed> $box) : mixed
Parameters
$post : WP_Post

Current post object.

$box : array<string|int, mixed>

{ Categories 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 'category'.
}

}

Return values
mixed