WC_Admin_List_Table::row_actions()publicWC 1.0

Set row actions.

{} It's a 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.

Code of WC_Admin_List_Table::row_actions() WC 6.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;
}