WC_Meta_Box_Order_Downloads
in package
WC_Meta_Box_Order_Downloads Class.
Table of Contents
Methods
output()
Output the metabox.
public
static output(WC_Order|WP_Post $post) : mixed
Parameters
- $post : WC_Order|WP_Post
-
Post or order object.
Return values
mixed —save()
Save meta box data.
public
static save(int $post_id, WP_Post $post) : mixed
Parameters
- $post_id : int
-
Post ID.
- $post : WP_Post
-
Post object.