WC_Admin_List_Table_Products::get_row_actions( array $actions, WP_Post $post )

Get row actions to show in the list table.


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/class-wc-admin-list-table-products.php

	protected function get_row_actions( $actions, $post ) {
		/* translators: %d: product ID. */
		return array_merge( array( 'id' => sprintf( __( 'ID: %d', 'woocommerce' ), $post->ID ) ), $actions );
	}

Top ↑

User Contributed Notes User Contributed Notes

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