LLMS_Admin_Post_Table_Orders::modify_actions( array $actions, WP_Post $post )
Modify the actions for the orders.
Parameters Parameters
- $actions
-
(array) (Required) Existing actions.
- $post
-
(WP_Post) (Required) Post object.
Return Return
(string[])
Source Source
File: includes/admin/post-types/post-tables/class.llms.admin.post.table.orders.php
public function modify_actions( $actions, $post ) {
if ( 'llms_order' !== $post->post_type ) {
return $actions;
}
unset( $actions['inline hide-if-no-js'] );
return $actions;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |