WC_Admin_List_Table::row_actions()publicWC 1.0

Set row actions.

Method of the class: WC_Admin_List_Table{}

No Hooks.

Return

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() code WC 8.7.0

public function row_actions( $actions, $post ) {
	if ( $this->list_table_type === $post->post_type ) {
		return $this->get_row_actions( $actions, $post );
	}
	return $actions;
}