This hook runs on the admin item table. It is useful to add a custom action link to the ‘actions’ column.


/**
 * @param $inventory_id
 *
 * @return string
 */
function my_custom_function( $inventory_id ) {
	$admin_url = add_query_args( [ 'page' => 'wpim_manage_inventory', 'action' => 'your_custom_action', 'inventory_id' => $inventory_id ], admin_url( 'admin.php' ) );

	return '<a href="' . $admin_url . '">Some Action</a>';
}

add_action( 'wpim_admin_action_links', 'my_custom_function' );

Reviews on WordPress.org

Trusted by thousands of businesses

★★★★★

"Created an online museum for my club. Really impressive plugin. Support was responsive and helpful."

@hackrepair

★★★★★

"Excellent, clean, simple inventory management. Well structured code — use it right away or customize it to your liking."

@techlocally

★★★★★

"We purchased the entire suite. Installation was easy, small issues were fixed immediately, and the guidance during setup was invaluable."

@design4dotcom

★★★★★

"Plugin support was helpful and rapid. Highest mark."

@drgar

★★★★★

"Great support. Very thorough when looking for a solution, and upfront with exactly how to fix it or institute a workaround."

@shoidahl

★★★★★

"I used this plugin and eventually hired the developers for all my WordPress work. Responsive, competent, and clean code. Would recommend to anyone."

@justenhong