woocommerce_order_actions_end
The WooCommerce woocommerce order actions end hook.
Description
Parameters (1)
- 0. $post_id (unknown)
- The post id.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'woocommerce_order_actions_end', $post_id );
- The following example is for adding a hook callback.
- // define the woocommerce_order_actions_end callback
- function action_woocommerce_order_actions_end( $post_id ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'woocommerce_order_actions_end', 'action_woocommerce_order_actions_end', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'woocommerce_order_actions_end', 'action_woocommerce_order_actions_end', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
- <?php do_action( 'woocommerce_order_actions_end', $post->ID ); ?>