WC_Admin_List_Table::row_actions
Set row actions.
Method of the class: WC_Admin_List_Table{}
No Hooks.
Returns
Array.
Usage
$WC_Admin_List_Table = new WC_Admin_List_Table(); $WC_Admin_List_Table->row_actions( $actions, $post );
- $actions(array) (required)
- Array of actions.
- $post(WP_Post) (required)
- Current post object.
WC_Admin_List_Table::row_actions() WC Admin List Table::row actions code WC 10.4.3
public function row_actions( $actions, $post ) {
if ( $this->list_table_type === $post->post_type ) {
return $this->get_row_actions( $actions, $post );
}
return $actions;
}