Automattic\WooCommerce\Internal\Fulfillments
FulfillmentsRenderer::define_fulfillment_bulk_actions
Define bulk actions for fulfillments.
Method of the class: FulfillmentsRenderer{}
No Hooks.
Returns
Array.
Usage
$FulfillmentsRenderer = new FulfillmentsRenderer(); $FulfillmentsRenderer->define_fulfillment_bulk_actions( $actions );
- $actions(array) (required)
- Existing actions.
FulfillmentsRenderer::define_fulfillment_bulk_actions() FulfillmentsRenderer::define fulfillment bulk actions code WC 10.3.3
public function define_fulfillment_bulk_actions( $actions ) {
$actions['fulfill'] = __( 'Mark as fulfilled', 'woocommerce' );
return $actions;
}