PHP Class WC_Meta_Box_Order_Actions

Show file Open project: woocommerce/woocommerce Class Usage Examples

Public Methods

Method Description
output ( WP_Post $post ) Output the metabox.
save ( integer $post_id, WP_Post $post ) Save meta box data.
set_email_sent_message ( string $location ) : string Set the correct message ID.

Method Details

output() public static method

Output the metabox.
public static output ( WP_Post $post )
$post WP_Post

save() public static method

Save meta box data.
public static save ( integer $post_id, WP_Post $post )
$post_id integer
$post WP_Post

set_email_sent_message() public static method

Set the correct message ID.
Since: 2.3.0
public static set_email_sent_message ( string $location ) : string
$location string
return string