WC_Admin_List_Table::row_actions( array $actions, WP_Post $post )

Set row actions.


Description Description


Parameters Parameters

$actions

(Required) Array of actions.

$post

(Required) Current post object.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/admin/list-tables/abstract-class-wc-admin-list-table.php

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


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.